| OLD | NEW |
| (Empty) | |
| 1 <?php |
| 2 // TODO(iclelland): Generate this sample token during the build. The token |
| 3 // below will expire in 2033, but it would be better to always have a token whic
h |
| 4 // is guaranteed to be valid when the tests are run. |
| 5 // Generate this token with the command: |
| 6 // generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=200000000
0 |
| 7 header("Origin-Trial: AlCoOPbezqtrGMzSzbLQC4c+oPqO6yuioemcBPjgcXajF8jtmZr4B8tJRP
AARPbsX6hDeVyXCKHzEJfpBXvZgQEAAABReyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIi
wgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9"); |
| 8 ?> |
| 9 <!DOCTYPE html> |
| 10 <meta charset="utf-8"> |
| 11 <title>Test Sample API when trial is enabled</title> |
| 12 <script src="../resources/testharness.js"></script> |
| 13 <script src="../resources/testharness-helpers.js"></script> |
| 14 <script src="../resources/testharnessreport.js"></script> |
| 15 <script src="resources/origin_trials.js"></script> |
| 16 <script> |
| 17 |
| 18 // The trial is enabled by the token above in header. |
| 19 expect_success(); |
| 20 |
| 21 </script> |
| OLD | NEW |