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

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

Issue 1235263002: UPGRADE: Rename the 'https' header. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Layouttest. 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
diff --git a/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl b/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl
index 28a8732c5a5be321eb55a0bc5a973c58558ce298..10d701e892c6a094f7e4bd3f2783a4f4fd2e51b7 100755
--- a/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl
+++ b/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/check-https-header.pl
@@ -13,9 +13,9 @@ print <<DONE
<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