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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Defines properties which are available on the Settings object. 1 # Defines properties which are available on the Settings object.
2 # 2 #
3 # Please think carefully before adding a new Setting. Some questions to 3 # Please think carefully before adding a new Setting. Some questions to
4 # consider are: 4 # consider are:
5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things
6 # which we support either values of at runtime. Features are set at renderer 6 # which we support either values of at runtime. Features are set at renderer
7 # process startup and are never changed. Features also tend to be set to a 7 # process startup and are never changed. Features also tend to be set to a
8 # value based on the platform or the stability of the code in question, where 8 # value based on the platform or the stability of the code in question, where
9 # as settings both codepaths need to be stable. 9 # as settings both codepaths need to be stable.
10 # - How will you ensure test coverage of all relevant values of your setting? 10 # - How will you ensure test coverage of all relevant values of your setting?
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 lowPriorityIframes initial=false 368 lowPriorityIframes initial=false
369 369
370 progressBarCompletion type=ProgressBarCompletion, initial=ProgressBarCompletion: :LoadEvent 370 progressBarCompletion type=ProgressBarCompletion, initial=ProgressBarCompletion: :LoadEvent
371 371
372 # Do we want to try to save screen real estate in the media player by hiding 372 # Do we want to try to save screen real estate in the media player by hiding
373 # the volume slider / mute button? 373 # the volume slider / mute button?
374 preferHiddenVolumeControls initial=false 374 preferHiddenVolumeControls initial=false
375 375
376 # Whether to disallow network fetches for parser blocking scripts in the main 376 # Whether to disallow network fetches for parser blocking scripts in the main
377 # frame inserted via document.write, for users on 2G or connections that are
378 # effectively 2G.
379 disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G initial=false
380
381 # Whether to disallow network fetches for parser blocking scripts in the main
377 # frame inserted via document.write, for users on slow connections. 382 # frame inserted via document.write, for users on slow connections.
378 disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false 383 disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false
379 384
380 # Whether to disallow network fetches for parser blocking scripts in the main 385 # Whether to disallow network fetches for parser blocking scripts in the main
381 # frame inserted via document.write, regardless of connection type. 386 # frame inserted via document.write, regardless of connection type.
382 disallowFetchForDocWrittenScriptsInMainFrame initial=false 387 disallowFetchForDocWrittenScriptsInMainFrame initial=false
383 388
384 # The autoplay gesture override experiment is described in crbug.com/487345 . 389 # The autoplay gesture override experiment is described in crbug.com/487345 .
385 autoplayExperimentMode type=String, initial="off" 390 autoplayExperimentMode type=String, initial="off"
386 391
(...skipping 23 matching lines...) Expand all
410 # Variant of the ParseHTMLOnMainThread experiment. This is designed to coalesce 415 # Variant of the ParseHTMLOnMainThread experiment. This is designed to coalesce
411 # TokenizedChunks when the experiment is running in threaded mode. 416 # TokenizedChunks when the experiment is running in threaded mode.
412 parseHTMLOnMainThreadCoalesceChunks initial=false 417 parseHTMLOnMainThreadCoalesceChunks initial=false
413 418
414 # Whether the CSSPreloadScanner is used for externally CSS preloads. NoPreload 419 # Whether the CSSPreloadScanner is used for externally CSS preloads. NoPreload
415 # indicates that the scanner will be used, but no preloads issued. 420 # indicates that the scanner will be used, but no preloads issued.
416 cssExternalScannerNoPreload initial=false 421 cssExternalScannerNoPreload initial=false
417 cssExternalScannerPreload initial=false 422 cssExternalScannerPreload initial=false
418 423
419 browserSideNavigationEnabled initial=false 424 browserSideNavigationEnabled initial=false
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698