blob: 61673ffae98d9effa262b1cf9c33607068f38587 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<!-- TODO(iclelland): Generate this sample token during the build. The token
below will expire in 2033, but it would be better to always have a token which
is guaranteed to be valid when the tests are run. -->
<!-- Generate this token with the command:
generate_token.py invalid.example.com Frobulate -expire-timestamp=2000000000
-->
<meta http-equiv="origin-trial" content="AqIqd5EqkNMJncc7Klowr3EI/hk7Aw8VecWqlGxZN145I+d1A4nUu7QeN8bj0zjpMhTbNHoESXE4Ec+pTECLQgUAAABbeyJvcmlnaW4iOiAiaHR0cHM6Ly9pbnZhbGlkLmV4YW1wbGUuY29tOjQ0MyIsICJmZWF0dXJlIjogIkZyb2J1bGF0ZSIsICJleHBpcnkiOiAyMDAwMDAwMDAwfQ==" />
<title>Test Sample API when token is present for a different origin</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/origintrials.js"></script>
<script>
// The trial is not enabled, as the provided token is signed for another origin,
// although it is otherwise valid.
expect_failure();
</script>