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

Unified Diff: LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl

Issue 1239933002: Merge 198924 "UPGRADE: Rename the 'https' header." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2454/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl
===================================================================
--- LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl (revision 199024)
+++ LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl (working copy)
@@ -13,9 +13,9 @@
<script src="/resources/testharnessreport.js"></script>
<script>
test(function () {
- var httpsHeader = "$ENV{"HTTP_HTTPS"}";
+ var httpsHeader = "$ENV{"HTTP_UPGRADE_INSECURE_REQUESTS"}";
assert_equals(httpsHeader, "1");
- }, "Verify that this request was delivered with an 'HTTPS' header.");
+ }, "Verify that this request was delivered with an 'Upgrade-Insecure-Requests' header.");
</script>
</head>
</html>

Powered by Google App Engine
This is Rietveld 408576698