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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/referrer-policy-header-then-csp.php

Issue 2075053003: Add basic Referrer-Policy support for Documents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation for tweaked console message Created 4 years, 6 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
(Empty)
1 <?php
2 header("Referrer-Policy: origin");
3 ?>
4 <!DOCTYPE html>
5 <head>
6 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' *; child-src *; referrer no-referrer">
7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script>
9 <script src="/resources/get-host-info.js"></script>
10 </head>
11 <body>
12 </body>
13 <script>
14 var policy = "no-referrer";
15 var expectedReferrer = "";
16 var navigateTo = "same-origin";
17 </script>
18 <script src="resources/header-test.js"></script>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698