OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <!-- TODO(iclelland): Generate these sample tokens during the build. The tokens | 3 <!-- TODO(iclelland): Generate these sample tokens during the build. The tokens |
4 below will expire in 2033, but it would be better to always have tokens which | 4 below will expire in 2033, but it would be better to always have tokens which |
5 are guaranteed to be valid when the tests are run. --> | 5 are guaranteed to be valid when the tests are run. --> |
6 <meta http-equiv="origin-trial" content="1|umr41cAPVTw49gYvZb5zQc+lIy6ixCQkC/Qyu
DBkDNnAbZQjXe7YM/Pb8d0nHCY7xhRq37ZGP7DhLSCp0aOeDA==|http://127.0.0.1:8000|Grokal
yze|2000000000" /> | 6 <!-- Generate these token with the commands: |
7 <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 generate_token.py http://127.0.0.1:8000 Grokalyze -expire-timestamp=2000000000 |
8 <meta http-equiv="origin-trial" content="1|Z+D6g2JZrstb1O6ztVoTi6bWXYGFCdd9v2lu2
3Doj2RP+q9gHZqhs7RUp1vfUQ0IVt0p5jzVX/OOrwenvktyBA==|http://127.0.0.1:8000|Enable
MarqueeTag|2000000000" /> | 8 generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=2000000000 |
| 9 generate_token.py http://127.0.0.1:8000 EnableMarqueeTag -expire-timestamp=20000
00000 |
| 10 --> |
| 11 <meta http-equiv="origin-trial" content="Am5nmX0C/DpiE2xRlcZ6D4wvTiO5ydK4ATI0aUD
xpIXD4MIoll0XEsIT8Qgdq4+tEYxOeJo/Y0QtkpYwRNWScw4AAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiR3Jva2FseXplIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB
9" /> |
| 12 <meta http-equiv="origin-trial" content="AlCoOPbezqtrGMzSzbLQC4c+oPqO6yuioemcBPj
gcXajF8jtmZr4B8tJRPAARPbsX6hDeVyXCKHzEJfpBXvZgQEAAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB
9" /> |
| 13 <meta http-equiv="origin-trial" content="Avs0tgQGv771bXLAScGOi5VpjYdIW/nbb00qk3r
H8T6/+7NVTlBosCz05fCg9Yb3N3P9h2IuadgfNtPTMMpirQwAAABYeyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRW5hYmxlTWFycXVlZVRhZyIsICJleHBpcnkiOiAyMDA
wMDAwMDAwfQ==" /> |
9 <title>Test Sample API when trial is enabled and multiple tokens are present</ti
tle> | 14 <title>Test Sample API when trial is enabled and multiple tokens are present</ti
tle> |
10 <script src="../resources/testharness.js"></script> | 15 <script src="../resources/testharness.js"></script> |
11 <script src="../resources/testharness-helpers.js"></script> | 16 <script src="../resources/testharness-helpers.js"></script> |
12 <script src="../resources/testharnessreport.js"></script> | 17 <script src="../resources/testharnessreport.js"></script> |
13 <script src="resources/origin_trials.js"></script> | 18 <script src="resources/origin_trials.js"></script> |
14 <script> | 19 <script> |
15 | 20 |
16 // The trial is enabled, and the correct token can be found between two other | 21 // The trial is enabled, and the correct token can be found between two other |
17 // tokens. | 22 // tokens. |
18 expect_success(); | 23 expect_success(); |
19 | 24 |
20 </script> | 25 </script> |
OLD | NEW |