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

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

Issue 1745333002: Fix secureContexts layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unauthenticated.html to site-per-process expectations Created 4 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 | « third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status.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.html
index 8ce225c4ac496c9db0112e4e541583e669a24cc3..719940f94f64ae9f62e5cd07eb55fb39f63327b2 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.html
@@ -1,6 +1,4 @@
<script>
- ["top", "parent", "opener"].forEach(function (x) {
- if (window[x] && window[x] != window)
- window[x].postMessage({ "isSecureContext": window.isSecureContext }, "*");
- });
+ if (window.top && window.top != window)
+ window.top.postMessage({ "isSecureContext": window.isSecureContext }, "*");
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698