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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-expired.html

Issue 1756193002: Extract trial tokens using <meta http-equiv> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change header name to singular 'origin-trial' Created 4 years, 9 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 unified diff | Download patch
OLDNEW
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 3 <!-- TODO(iclelland): Generate this sample token during the build. The token
4 below has a valid signature for the current signing key, but it would be 4 below has a valid signature for the current signing key, but it would be
5 better to always have a token which is guaranteed to be valid when the tests 5 better to always have a token which is guaranteed to be valid when the tests
6 are run. --> 6 are run. -->
7 <meta name="origin-trials" content="1|W5OpLTgzFacJn++BqWVqbeyfxdbimq4hqMg65lHYlm od6ZB2Jl5pfNWlHtRJBOl88/paQB5wqWq5e3z870tfCw==|http://127.0.0.1:8000|Frobulate|1 000000000" /> 7 <meta http-equiv="origin-trial" content="1|W5OpLTgzFacJn++BqWVqbeyfxdbimq4hqMg65 lHYlmod6ZB2Jl5pfNWlHtRJBOl88/paQB5wqWq5e3z870tfCw==|http://127.0.0.1:8000|Frobul ate|1000000000" />
8 <title>Test Sample API when trial has expired</title> 8 <title>Test Sample API when trial has expired</title>
9 <script src="../resources/testharness.js"></script> 9 <script src="../resources/testharness.js"></script>
10 <script src="../resources/testharness-helpers.js"></script> 10 <script src="../resources/testharness-helpers.js"></script>
11 <script src="../resources/testharnessreport.js"></script> 11 <script src="../resources/testharnessreport.js"></script>
12 <script src="resources/origin_trials.js"></script> 12 <script src="resources/origin_trials.js"></script>
13 <script> 13 <script>
14 14
15 // The trial is not enabled, as the provided token is expired (although it has a 15 // The trial is not enabled, as the provided token is expired (although it has a
16 // valid signature.) 16 // valid signature.)
17 expect_failure(); 17 expect_failure();
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698