Index: LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-sandbox-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-sandbox-in-secure-page.html |
similarity index 93% |
copy from LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
copy to LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-sandbox-in-secure-page.html |
index bea658d164eff3f23456dec394aed95744317571..d895efeeb75b4b47c07b48232d7c93b263b4281d 100644 |
--- a/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html |
+++ b/LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-sandbox-in-secure-page.html |
@@ -12,6 +12,7 @@ if (window.testRunner) { |
testRunner.overridePreference("WebKitAllowRunningInsecureContent", 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 () |
{ |
@@ -20,7 +21,7 @@ test.step(function () |
test.done(); |
}), false); |
- window.open("https://127.0.0.1:8443/security/mixedContent/websocket/resources/expect-throw-on-construction.html"); |
+ window.open("https://127.0.0.1:8443/security/mixedContent/websocket/resources/sandboxed-expect-throw-on-construction.html"); |
}); |
</script> |