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

Unified Diff: LayoutTests/http/tests/fetch/resources/init.js

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
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/fetch/resources/init.js
diff --git a/LayoutTests/http/tests/fetch/resources/init.js b/LayoutTests/http/tests/fetch/resources/init.js
index 347aad61f50c6abf42365082a142b4c4b69bc784..f9bc2e392ff7f8a2c9d1a2a91f50cf2f45b4e683 100644
--- a/LayoutTests/http/tests/fetch/resources/init.js
+++ b/LayoutTests/http/tests/fetch/resources/init.js
@@ -1,17 +1,4 @@
if (window.testRunner) {
- // In Chromium we need to change the setting to disallow displaying
- // insecure contents.
-
- // By default, LayoutTest content_shell returns allowed for
- // "Should fetching request be blocked as mixed content?" at Step 5:
- // https://w3c.github.io/webappsec/specs/mixedcontent/#should-block-fetch
- // > If the user agent has been instructed to allow mixed content
- // Turning the switch below to false makes this condition above false, and
- // make content_shell to run into Step 7 to test mixed content blocking.
- testRunner.overridePreference('WebKitAllowRunningInsecureContent', false);
- //FIXME: to be removed.
- //testRunner.overridePreference('WebKitAllowDisplayingInsecureContent', true);
-
// Accept all cookies.
testRunner.setAlwaysAcceptCookies(true);
}
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698