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

Unified Diff: third_party/WebKit/Source/core/frame/Settings.in

Issue 2338623004: Add Blink setting to block doc.written scripts on 2g-like networks (Closed)
Patch Set: Nit Created 4 years, 3 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: third_party/WebKit/Source/core/frame/Settings.in
diff --git a/third_party/WebKit/Source/core/frame/Settings.in b/third_party/WebKit/Source/core/frame/Settings.in
index e01055f03dd8f00a495995b129ff000f012c5fa5..a9902fe9542846c79f7aaa98a8628d603eba300b 100644
--- a/third_party/WebKit/Source/core/frame/Settings.in
+++ b/third_party/WebKit/Source/core/frame/Settings.in
@@ -374,6 +374,11 @@ progressBarCompletion type=ProgressBarCompletion, initial=ProgressBarCompletion:
preferHiddenVolumeControls initial=false
# Whether to disallow network fetches for parser blocking scripts in the main
+# frame inserted via document.write, for users on 2G or connections that are
+# effectively 2G.
+disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G initial=false
+
+# Whether to disallow network fetches for parser blocking scripts in the main
# frame inserted via document.write, for users on slow connections.
disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false

Powered by Google App Engine
This is Rietveld 408576698