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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/basic-header-unsafe-url.https.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: unsafe-url");
3 ?>
4 <!DOCTYPE html>
5 <head>
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8 <script src="/resources/get-host-info.js"></script>
9 <script>
10 if (window.testRunner) {
11 testRunner.overridePreference("WebKitAllowRunningInsecureContent", tru e);
12 testRunner.setAllowRunningOfInsecureContent(true);
13 }
14 </script>
15 </head>
16 <body>
17 </body>
18 <script>
19 var policy = "unsafe-url";
20 var expectedReferrer = document.location.href;
21 var navigateTo = "downgrade";
22 </script>
23 <script src="resources/header-test.js"></script>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698