Index: LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
diff --git a/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html b/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
index bea658d164eff3f23456dec394aed95744317571..904119feb528029ab764d0dc094160bfcb27afad 100644 |
--- a/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
+++ b/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
@@ -11,6 +11,9 @@ if (window.testRunner) { |
// Disallow insecure WebSockets. |
testRunner.overridePreference("WebKitAllowRunningInsecureContent", false); |
} |
+if (window.internals) |
+ internals.settings.setLaxMixedContentCheckingEnabled(false); |
+ |
var test = async_test("Test that when a HTTPS window that creates an insecure WebSocket connection is opened, the mixed content callback is triggered because the main frame in the window is HTTPS but is trying connecting to an insecure WebSocket server."); |
test.step(function () |