Index: LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed.html |
diff --git a/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed.html b/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed.html |
index d8cf54210bba877042cdca6be0cddc9cf47dec95..843c87478384a3eac9d423a4368c9fd4d4276d2b 100644 |
--- a/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed.html |
+++ b/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-allowed.html |
@@ -11,6 +11,9 @@ if (window.testRunner) { |
// Allow insecure WebSockets. |
testRunner.overridePreference("WebKitAllowRunningInsecureContent", true); |
} |
+if (window.internals) |
+ internals.settings.setLaxMixedContentCheckingEnabled(false); |
+ |
var test = async_test("Test that an insecure WebSocket connection is blocked when created in an HTTPS resource."); |
test.step(function () |