| 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>
|
|
|