| 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 | |
| 4 below will expire in 2033, but it would be better to always have a token which | |
| 5 is guaranteed to be valid when the tests are run. --> | |
| 6 <meta http-equiv="origin-trial" content="1|tZPW/JJ2Sxm4z7k/Eb1/upMsppozWpTwEuGwh
gQko0zWS6ebvjQ+EXPP/ftoMX8/PCoDgOS3xlrXElMgDDvbCg==|http://127.0.0.1:8000|Frobul
ate|2000000000"> | |
| 7 <title>Test Sample API when trial is enabled</title> | 3 <title>Test Sample API when trial is enabled</title> |
| 8 <script src="../resources/testharness.js"></script> | 4 <script src="../resources/testharness.js"></script> |
| 9 <script src="../resources/testharness-helpers.js"></script> | 5 <script src="../resources/testharness-helpers.js"></script> |
| 10 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../resources/testharnessreport.js"></script> |
| 11 <script src="resources/origin_trials.js"></script> | 7 <script src="resources/origin_trials.js"></script> |
| 8 <body> |
| 9 <!-- TODO(iclelland): Generate this sample token during the build. The token |
| 10 below will expire in 2033, but it would be better to always have a token which |
| 11 is guaranteed to be valid when the tests are run. --> |
| 12 <meta http-equiv="origin-trial" content="1|tZPW/JJ2Sxm4z7k/Eb1/upMsppozWpTwEuGwh
gQko0zWS6ebvjQ+EXPP/ftoMX8/PCoDgOS3xlrXElMgDDvbCg==|http://127.0.0.1:8000|Frobul
ate|2000000000"> |
| 12 <script> | 13 <script> |
| 13 | 14 |
| 14 // The trial is enabled by the token above in the meta tag. | 15 // The trial is disabled, as the token was added outside of the document <head>. |
| 15 expect_success(); | 16 expect_failure(); |
| 16 | 17 |
| 17 </script> | 18 </script> |
| OLD | NEW |