OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <!-- TODO(iclelland): Generate this sample token during the build. The token | 3 <!-- TODO(iclelland): Generate this sample token during the build. The token |
4 below has a valid signature for the current signing key, but it would be | 4 below has a valid signature for the current signing key, but it would be |
5 better to always have a token which is guaranteed to be valid when the tests | 5 better to always have a token which is guaranteed to be valid when the tests |
6 are run. --> | 6 are run. --> |
7 <!-- Generate this token with the command: | 7 <!-- Generate this token with the command: |
8 generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=1000000000 | 8 generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=1000000000 |
9 --> | 9 --> |
10 <meta http-equiv="origin-trial" content="AtA29m1y4Qfx7TACfDcePevArXCxKUObQS+TTb2
bOi5YumkWgcWB5O0MasQU4cY4qZXXAQmbMBf7OtBh6qI2qA4AAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDEwMDAwMDAwMDB
9" /> | 10 <meta http-equiv="origin-trial" content="AtA29m1y4Qfx7TACfDcePevArXCxKUObQS+TTb2
bOi5YumkWgcWB5O0MasQU4cY4qZXXAQmbMBf7OtBh6qI2qA4AAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDEwMDAwMDAwMDB
9" /> |
11 <title>Test Sample API when trial has expired</title> | 11 <title>Test Sample API when trial has expired</title> |
12 <script src="../resources/testharness.js"></script> | 12 <script src="../resources/testharness.js"></script> |
13 <script src="../resources/testharnessreport.js"></script> | 13 <script src="../resources/testharnessreport.js"></script> |
14 <script src="resources/origin_trials.js"></script> | 14 <script src="resources/origintrials.js"></script> |
15 <script> | 15 <script> |
16 | 16 |
17 // The trial is not enabled, as the provided token is expired (although it has a | 17 // The trial is not enabled, as the provided token is expired (although it has a |
18 // valid signature.) | 18 // valid signature.) |
19 expect_failure(); | 19 expect_failure(); |
20 </script> | 20 </script> |
OLD | NEW |