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

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

Issue 1653263005: [Experimental Framework] Move the trial token public key out of content and into the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, and update for recent token changes Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 will expire in 2033, but it would be better to always have a token which 4 below will expire in 2033, but it would be better to always have a token which
5 is guaranteed to be valid when the tests are run. --> 5 is guaranteed to be valid when the tests are run. -->
6 <meta name="origin-trials" content="1|1Rw1j+NkMF27TxRhpNJ5R28nLpbXwDjPKcKdLhTVFN oR5naMmIbYQgnFLPgQSRceq5KSgKb584zRWx2tacTkBw==|http://invalid.example.com|Frobul ate|2000000000" /> 6 <meta name="origin-trials" content="1|ak4CUgJ69tforMyzN7lgxhWaaIny/lGqtLjIqJjMXB A2b8lqul1KhyyLmKZ38+tJnZDLXZmQUn5ZjMFE/SmNDw==|https://invalid.example.com|Frobu late|2000000000" />
7 <title>Test Sample API when token is present for a different origin</title> 7 <title>Test Sample API when token is present for a different origin</title>
8 <script src="../resources/testharness.js"></script> 8 <script src="../resources/testharness.js"></script>
9 <script src="../resources/testharness-helpers.js"></script> 9 <script src="../resources/testharness-helpers.js"></script>
10 <script src="../resources/testharnessreport.js"></script> 10 <script src="../resources/testharnessreport.js"></script>
11 <script src="resources/origin_trials.js"></script> 11 <script src="resources/origin_trials.js"></script>
12 <script> 12 <script>
13 13
14 // The trial is not enabled, as the provided token is signed for another origin, 14 // The trial is not enabled, as the provided token is signed for another origin,
15 // although it is otherwise valid. 15 // although it is otherwise valid.
16 expect_failure(); 16 expect_failure();
17 17
18 </script> 18 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-multiple-tokens.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698