4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.dumpAsText();
7 testRunner.setCanOpenWindows();
8 testRunner.setCloseRemainingWindowsWhenComplete(true);
9 testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
12 internals.settings.setLaxMixedContentCheckingEnabled(false);
15 window.addEventListener("message", function (e) {
16 if (window.testRunner)
17 testRunner.notifyDone();
21 <p>This test opens a HTTPS window that loads insecure data via XHR. We should
22 trigger a mixed content callback because the main frame in the window is HTTPS but
23 now has insecure data.</p>
25 window.open("https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-sync-xhr-post.html");