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