Index: LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
diff --git a/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html b/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0edbf1f2cfe30a992adf6a0c18c449f5cb2bb82c |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/mixedContent/insecure-async-post-xhr-blocked.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script src="/js-test-resources/testharness.js"></script> |
+<script src="/js-test-resources/testharnessreport.js"></script> |
+<script> |
+if (window.testRunner) { |
+ 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."); |
+ |
+window.addEventListener("message", test.step_func(function (e) { |
+ assert_equals(e.data, "DONE"); |
+ test.done(); |
+}), false); |
+window.open("http://127.0.0.1:8000/security/mixedContent/resources/frame-with-insecure-async-xhr-post.html"); |
hiroshige
2015/08/11 09:54:42
The description says "Opens a HTTPS window" but he
tyoshino (SeeGerritForStatus)
2016/01/29 12:36:52
Right! Fixed
tyoshino (SeeGerritForStatus)
2016/01/29 12:37:56
Oh, this reply had to be published before.
|
+</script> |