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

Unified Diff: content/shell/renderer/test_runner/test_runner.cc

Issue 842643002: Mixed Content: Create a strict-mode Setting. [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dropping //chrome changes + pref. Created 5 years, 11 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 | « content/shell/common/webkit_test_helpers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.cc
diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
index 190eda44590c8825a7915512fc93929649f1cecb..f83b9803175073fe4e3b6a873ba2104b2cf80342 100644
--- a/content/shell/renderer/test_runner/test_runner.cc
+++ b/content/shell/renderer/test_runner/test_runner.cc
@@ -2532,6 +2532,8 @@ void TestRunner::OverridePreference(const std::string key,
prefs->allow_display_of_insecure_content = value->BooleanValue();
} else if (key == "WebKitAllowRunningInsecureContent") {
prefs->allow_running_of_insecure_content = value->BooleanValue();
+ } else if (key == "WebKitStrictMixedContentChecking") {
+ prefs->strict_mixed_content_checking = value->BooleanValue();
} else if (key == "WebKitShouldRespectImageOrientation") {
prefs->should_respect_image_orientation = value->BooleanValue();
} else if (key == "WebKitWebAudioEnabled") {
« no previous file with comments | « content/shell/common/webkit_test_helpers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698