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

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

Issue 2808543002: Cleanup expected.txt files for layout tests (Closed)
Patch Set: Remove platform-specific expected.txt file Created 3 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 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 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 <!-- Generate this token with the command: 6 <!-- Generate this token with the command:
7 generate_token.py invalid.example.com Frobulate -expire-timestamp=2000000000 7 generate_token.py invalid.example.com Frobulate -expire-timestamp=2000000000
8 --> 8 -->
9 <meta http-equiv="origin-trial" content="AqIqd5EqkNMJncc7Klowr3EI/hk7Aw8VecWqlGx ZN145I+d1A4nUu7QeN8bj0zjpMhTbNHoESXE4Ec+pTECLQgUAAABbeyJvcmlnaW4iOiAiaHR0cHM6Ly9 pbnZhbGlkLmV4YW1wbGUuY29tOjQ0MyIsICJmZWF0dXJlIjogIkZyb2J1bGF0ZSIsICJleHBpcnkiOiA yMDAwMDAwMDAwfQ==" /> 9 <meta http-equiv="origin-trial" content="AqIqd5EqkNMJncc7Klowr3EI/hk7Aw8VecWqlGx ZN145I+d1A4nUu7QeN8bj0zjpMhTbNHoESXE4Ec+pTECLQgUAAABbeyJvcmlnaW4iOiAiaHR0cHM6Ly9 pbnZhbGlkLmV4YW1wbGUuY29tOjQ0MyIsICJmZWF0dXJlIjogIkZyb2J1bGF0ZSIsICJleHBpcnkiOiA yMDAwMDAwMDAwfQ==" />
10 <title>Test Sample API when token is present for a different origin</title> 10 <title>Test Sample API when token is present for a different origin</title>
11 <script src="../resources/testharness.js"></script> 11 <script src="../resources/testharness.js"></script>
12 <script src="../resources/testharnessreport.js"></script> 12 <script src="../resources/testharnessreport.js"></script>
13 <script src="resources/origin_trials.js"></script> 13 <script src="resources/origintrials.js"></script>
14 <script> 14 <script>
15 15
16 // The trial is not enabled, as the provided token is signed for another origin, 16 // The trial is not enabled, as the provided token is signed for another origin,
17 // although it is otherwise valid. 17 // although it is otherwise valid.
18 expect_failure(); 18 expect_failure();
19 19
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698