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

Side by Side Diff: LayoutTests/http/tests/security/referrer-policy-subresource.html

Issue 1235563004: Apply meta tag referrer policy for preloaded requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fix Created 5 years, 5 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 | « no previous file | LayoutTests/http/tests/security/resources/referrer-policy-script.php » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <meta name="referrer" content="no-referrer">
7 </head>
8 <body>
9 <script src="resources/referrer-policy-script.php"></script>
10 <script>
11 // Test that referrer policies are applied on subresources.
12 // crbug.com/508310
13 test(function () {
14 assert_equals("none", scriptReferrer);
15 }, "Meta referrer policy is set on subresource");
16 </script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/resources/referrer-policy-script.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698