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

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: Update test results after rebase 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 52056add5b459f2e29fd717700589c0a27c00c2a..a243d52fd01ee7c9131dcf4b1014c701b687ac26 100644
--- a/third_party/WebKit/Source/core/frame/Settings.in
+++ b/third_party/WebKit/Source/core/frame/Settings.in
@@ -376,6 +376,11 @@ historyEntryRequiresUserGesture initial=false
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