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

Unified Diff: LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-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/post-https-header.pl
===================================================================
--- LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl (revision 199024)
+++ LayoutTests/http/tests/security/upgrade-insecure-requests/resources/post-https-header.pl (working copy)
@@ -8,6 +8,6 @@
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