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

Unified Diff: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html

Issue 901903003: CSP: Adding the 'upgrade-insecure-requests' directive. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: unittest Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/fetch/ResourceFetcher.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html
diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html
index 198ce5871490780eced65ab605997d9ef36d6dc4..3d7094277be0b228e61261da5f58511a3958edaf 100644
--- a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html
+++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-script.html
@@ -3,5 +3,7 @@
window.onload = function() {
if (window.opener)
window.opener.postMessage('done', '*');
+ if (window.parent != window)
Yoav Weiss 2015/02/06 09:58:36 Is this a leftover from the layout tests change?
+ window.parent.postMessage('done', '*');
};
</script>
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | Source/core/fetch/ResourceFetcher.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698