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 <!-- Generate these token with the commands: | 6 <!-- Generate these token with the commands: |
7 generate_token.py http://127.0.0.1:8000 Grokalyze -expire-timestamp=2000000000 | 7 generate_token.py http://127.0.0.1:8000 Grokalyze -expire-timestamp=2000000000 |
8 generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=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 | 9 generate_token.py http://127.0.0.1:8000 EnableMarqueeTag -expire-timestamp=20000
00000 |
10 --> | 10 --> |
11 <meta http-equiv="origin-trial" content="Am5nmX0C/DpiE2xRlcZ6D4wvTiO5ydK4ATI0aUD
xpIXD4MIoll0XEsIT8Qgdq4+tEYxOeJo/Y0QtkpYwRNWScw4AAABReyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiR3Jva2FseXplIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB
9" /> | 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" /> | 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==" /> | 13 <meta http-equiv="origin-trial" content="Avs0tgQGv771bXLAScGOi5VpjYdIW/nbb00qk3r
H8T6/+7NVTlBosCz05fCg9Yb3N3P9h2IuadgfNtPTMMpirQwAAABYeyJvcmlnaW4iOiAiaHR0cDovLzE
yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRW5hYmxlTWFycXVlZVRhZyIsICJleHBpcnkiOiAyMDA
wMDAwMDAwfQ==" /> |
14 <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> |
15 <script src="../resources/testharness.js"></script> | 15 <script src="../resources/testharness.js"></script> |
16 <script src="../resources/testharnessreport.js"></script> | 16 <script src="../resources/testharnessreport.js"></script> |
17 <script src="resources/origin_trials.js"></script> | 17 <script src="resources/origintrials.js"></script> |
18 <script> | 18 <script> |
19 | 19 |
20 // The trial is enabled, and the correct token can be found between two other | 20 // The trial is enabled, and the correct token can be found between two other |
21 // tokens. | 21 // tokens. |
22 expect_success(); | 22 expect_success(); |
23 | 23 |
24 </script> | 24 </script> |
OLD | NEW |