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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-top-level-browser-initiated.php

Issue 2462513003: PlzNavigate: Add missing Upgrade-Insecure-Requests header. (Closed)
Patch Set: PlzNavigate:Add missing Upgrade-Insecure-Requests header. 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <script>
7 test(function () {
8 <?php echo "httpsHeader = \"", $_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS'], "\";" ?>;
9 assert_equals(httpsHeader, "1");
10 }, "Verify that the browser-initiated request was delivered with an 'Upgrade -Insecure-Requests' header.");
11 </script>
12 </head>
13 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698