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