| 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 <meta http-equiv="origin-trial" content="1|W5OpLTgzFacJn++BqWVqbeyfxdbimq4hqMg65
lHYlmod6ZB2Jl5pfNWlHtRJBOl88/paQB5wqWq5e3z870tfCw==|http://127.0.0.1:8000|Frobul
ate|1000000000" /> | 7 <!-- Generate this token with the command: |
| 8 generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=1000000000 |
| 9 --> |
| 10 <meta http-equiv="origin-trial" content="AtA29m1y4Qfx7TACfDcePevArXCxKUObQS+TTb2
bOi5YumkWgcWB5O0MasQU4cY4qZXXAQmbMBf7OtBh6qI2qA4AAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDEwMDAwMDAwMDB
9" /> |
| 8 <title>Test Sample API when trial has expired</title> | 11 <title>Test Sample API when trial has expired</title> |
| 9 <script src="../resources/testharness.js"></script> | 12 <script src="../resources/testharness.js"></script> |
| 10 <script src="../resources/testharness-helpers.js"></script> | 13 <script src="../resources/testharness-helpers.js"></script> |
| 11 <script src="../resources/testharnessreport.js"></script> | 14 <script src="../resources/testharnessreport.js"></script> |
| 12 <script src="resources/origin_trials.js"></script> | 15 <script src="resources/origin_trials.js"></script> |
| 13 <script> | 16 <script> |
| 14 | 17 |
| 15 // The trial is not enabled, as the provided token is expired (although it has a | 18 // The trial is not enabled, as the provided token is expired (although it has a |
| 16 // valid signature.) | 19 // valid signature.) |
| 17 expect_failure(); | 20 expect_failure(); |
| 18 </script> | 21 </script> |
| OLD | NEW |