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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ce225c4ac496c9db0112e4e541583e669a24cc3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/resources/post-securecontext-status.html |
@@ -0,0 +1,6 @@ |
+<script> |
+ ["top", "parent", "opener"].forEach(function (x) { |
+ if (window[x] && window[x] != window) |
+ window[x].postMessage({ "isSecureContext": window.isSecureContext }, "*"); |
+ }); |
+</script> |