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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/fetch/referrer/origin-only-document.html

Issue 2445823002: Remove CSP referrer directive (Closed)
Patch Set: remove unused test file Created 4 years, 1 month 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 <html> 2 <html>
3 <meta http-equiv = "Content-Security-Policy" content = "referrer origin"> 3 <meta name="referrer" content="origin">
4 <title>Fetch in a document with &quot;referrer origin&quot; policy</title> 4 <title>Fetch in a document with &quot;referrer origin&quot; policy</title>
5 <body> 5 <body>
6 <script src = "/resources/testharness.js"></script> 6 <script src = "/resources/testharness.js"></script>
7 <script src = "/resources/testharnessreport.js"></script> 7 <script src = "/resources/testharnessreport.js"></script>
8 <script src = "/serviceworker/resources/test-helpers.js"></script> 8 <script src = "/serviceworker/resources/test-helpers.js"></script>
9 <script src = "/fetch/resources/fetch-test-options.js"></script> 9 <script src = "/fetch/resources/fetch-test-options.js"></script>
10 <script src = "/fetch/resources/fetch-test-helpers.js"></script> 10 <script src = "/fetch/resources/fetch-test-helpers.js"></script>
11 <script> 11 <script>
12 12
13 const BASE_URL = BASE_ORIGIN + '/fetch/resources/referrer.php'; 13 const BASE_URL = BASE_ORIGIN + '/fetch/resources/referrer.php';
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 [OTHER_URL, '/foo', 'origin', BASE_ORIGIN + '/'], 57 [OTHER_URL, '/foo', 'origin', BASE_ORIGIN + '/'],
58 [OTHER_URL, '/foo', 'origin-when-cross-origin', BASE_ORIGIN + '/'], 58 [OTHER_URL, '/foo', 'origin-when-cross-origin', BASE_ORIGIN + '/'],
59 [OTHER_URL, '/foo', 'unsafe-url', BASE_ORIGIN + '/foo'], 59 [OTHER_URL, '/foo', 'unsafe-url', BASE_ORIGIN + '/foo'],
60 ]; 60 ];
61 61
62 add_referrer_tests(TESTS); 62 add_referrer_tests(TESTS);
63 done(); 63 done();
64 </script> 64 </script>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698