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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <script> 1 <script>
2 window.addEventListener("message", function () {
2 if (window.top && window.top != window) 3 if (window.top && window.top != window)
3 window.top.postMessage({ "isSecureContext": window.isSecureContext }, "* "); 4 window.top.postMessage({ "isSecureContext": window.isSecureContext }, "* ");
5 });
6 window.parent.postMessage("add-csp", "*");
4 </script> 7 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698