Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html

Issue 1858763003: Change origin trial token format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up API, clarify difference between token text and payload, clean up tests, and fix use of pub… Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html
index 40ad0f152d15f3b2829c570354d8b7daf5f391f4..213f8277aa564f8e1b4401883fa8d3e6679b6674 100644
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html
@@ -3,9 +3,14 @@
<!-- TODO(iclelland): Generate these sample tokens during the build. The tokens
below will expire in 2033, but it would be better to always have tokens which
are guaranteed to be valid when the tests are run. -->
-<meta http-equiv="origin-trial" content="1|umr41cAPVTw49gYvZb5zQc+lIy6ixCQkC/QyuDBkDNnAbZQjXe7YM/Pb8d0nHCY7xhRq37ZGP7DhLSCp0aOeDA==|http://127.0.0.1:8000|Grokalyze|2000000000" />
-<meta http-equiv="origin-trial" content="1|tZPW/JJ2Sxm4z7k/Eb1/upMsppozWpTwEuGwhgQko0zWS6ebvjQ+EXPP/ftoMX8/PCoDgOS3xlrXElMgDDvbCg==|http://127.0.0.1:8000|Frobulate|2000000000" />
-<meta http-equiv="origin-trial" content="1|Z+D6g2JZrstb1O6ztVoTi6bWXYGFCdd9v2lu23Doj2RP+q9gHZqhs7RUp1vfUQ0IVt0p5jzVX/OOrwenvktyBA==|http://127.0.0.1:8000|EnableMarqueeTag|2000000000" />
+<!-- Generate these token with the commands:
+generate_token.py http://127.0.0.1:8000 Grokalyze -expire-timestamp=2000000000
+generate_token.py http://127.0.0.1:8000 Frobulate -expire-timestamp=2000000000
+generate_token.py http://127.0.0.1:8000 EnableMarqueeTag -expire-timestamp=2000000000
+-->
+<meta http-equiv="origin-trial" content="AYS2RVZDLojxUzOhxBGlKobYX8i6hShZYATqHtABNMbXLXW0WUR5kyiMWKENDqAs2LsP6Y76q98mh8tutnVf4AEAAABReyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiR3Jva2FseXplIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
+<meta http-equiv="origin-trial" content="AXuu5X2Ye9Qa00exQJRnEsn+fSyv4o5PCAgIlYy9tmSUl1iah51MXEIRWKCZRuQHgFf0rqU1EpRkI9XIl95j4AIAAABReyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRnJvYnVsYXRlIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
+<meta http-equiv="origin-trial" content="AYOV6w7qtKPSArzE+TgKYf/AE3b1tDJlKo+N/HhHS0/VTLiT3E8k892uOwIShzuBqkcw9Ws8XbNb80qsAZNm2w0AAABYeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiRW5hYmxlTWFycXVlZVRhZyIsICJleHBpcnkiOiAyMDAwMDAwMDAwfQ==" />
<title>Test Sample API when trial is enabled and multiple tokens are present</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharness-helpers.js"></script>

Powered by Google App Engine
This is Rietveld 408576698