Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: LayoutTests/http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page.html

Issue 961633002: Mixed Content: Remove redundant pref from tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4500af7dbe5df1319f74fe31bd416dd736764c69 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
@@ -8,8 +8,6 @@
if (window.testRunner) {
testRunner.setCanOpenWindows();
testRunner.setCloseRemainingWindowsWhenComplete(true);
- // Disallow insecure WebSockets.
- 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.");

Powered by Google App Engine
This is Rietveld 408576698