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

Unified Diff: LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-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/post-https-header.pl
diff --git a/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl b/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl
index a15436016d91d1a0f50bbda15971e1fa14ef935b..6a8b3f7b1f8141ad3cbc6e5f30152d1276ee66a2 100755
--- a/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl
+++ b/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl
@@ -8,6 +8,6 @@ print "Cache-Control: no-store\n\n";
print <<DONE
<script>
var target = window.opener || window.top;
- target.postMessage({ "https": "$ENV{"HTTP_HTTPS"}" }, "*");
+ target.postMessage({ "header": "$ENV{"HTTP_UPGRADE_INSECURE_REQUESTS"}" }, "*");
</script>
DONE

Powered by Google App Engine
This is Rietveld 408576698