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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status-on-msg.html

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase fixups Created 4 years, 9 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: third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status-on-msg.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status.html b/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status-on-msg.html
similarity index 60%
copy from third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status.html
copy to third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status-on-msg.html
index 719940f94f64ae9f62e5cd07eb55fb39f63327b2..995c6d1143d73073f495b0f1f11f11b7412445f3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status-on-msg.html
@@ -1,4 +1,7 @@
<script>
+window.addEventListener("message", function () {
if (window.top && window.top != window)
window.top.postMessage({ "isSecureContext": window.isSecureContext }, "*");
+});
+window.parent.postMessage("add-csp", "*");
</script>

Powered by Google App Engine
This is Rietveld 408576698