OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="/js-test-resources/testharness.js"></script> | |
3 <script src="/js-test-resources/testharnessreport.js"></script> | |
4 <script> | |
5 if (window.testRunner) { | |
6 testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); | |
7 } | |
8 | |
9 var test = async_test("Opens a HTTPS window that loads insecure data via XHR. W e should trigger a mixed content callback and block the load."); | |
10 | |
11 window.addEventListener("message", function (e) { | |
12 test.done(); | |
13 }, false); | |
14 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-async-xhr-post.html"); | |
15 </script> | |
OLD | NEW |