Index: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
index f480e6f5eb3eade6602245da3e8f45fc3c3400c3..5831a801835cbf44ccbcc39f090b02c3a2ad5d70 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
@@ -3,14 +3,15 @@ |
<script src="/js-test-resources/testharnessreport.js"></script> |
<script> |
if (window.testRunner) { |
- testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); |
+ testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); |
} |
-var test = async_test("Opens a HTTPS window that loads insecure data via XHR. We should trigger a mixed content callback and block the load."); |
- |
+var test = async_test("Opens an HTTPS window that loads insecure data via " + |
+ "XHR. We should trigger a mixed content callback and block the load."); |
window.addEventListener("message", test.step_func(function (e) { |
- assert_equals(e.data, "DONE"); |
- test.done(); |
+ assert_equals(e.data, "DONE"); |
+ test.done(); |
}), false); |
+ |
window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html"); |
</script> |