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

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.in

Issue 1868413002: Add about:flags support for doc.write script blocking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 fetchIncreaseFontPriority initial=false 375 fetchIncreaseFontPriority initial=false
376 fetchIncreaseAsyncScriptPriority initial=false 376 fetchIncreaseAsyncScriptPriority initial=false
377 # Increases the priorities for CSS, Scripts, Fonts and Images all by one level 377 # Increases the priorities for CSS, Scripts, Fonts and Images all by one level
378 # and parser-blocking scripts and visible images by 2. 378 # and parser-blocking scripts and visible images by 2.
379 # This is used in conjunction with logic on the Chrome side to raise the thresho ld 379 # This is used in conjunction with logic on the Chrome side to raise the thresho ld
380 # of "layout-blocking" resources and provide a boost to resources that are neede d 380 # of "layout-blocking" resources and provide a boost to resources that are neede d
381 # as soon as possible for something currently on the screen. 381 # as soon as possible for something currently on the screen.
382 fetchIncreasePriorities initial=false 382 fetchIncreasePriorities initial=false
383 383
384 # Whether to disallow network fetches for parser blocking scripts in the main 384 # Whether to disallow network fetches for parser blocking scripts in the main
385 # frame inserted via document.write. 385 # frame inserted via document.write, for users on slow connections.
386 disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections initial=false
387
388 # Whether to disallow network fetches for parser blocking scripts in the main
389 # frame inserted via document.write, regardless of connection type.
386 disallowFetchForDocWrittenScriptsInMainFrame initial=false 390 disallowFetchForDocWrittenScriptsInMainFrame initial=false
387 391
388 # The autoplay gesture override experiment is described in crbug.com/487345 . 392 # The autoplay gesture override experiment is described in crbug.com/487345 .
389 autoplayExperimentMode type=String, initial="off" 393 autoplayExperimentMode type=String, initial="off"
390 394
391 # When DevTools is emulating mobile device, frame resize may mean device size ha s changed, 395 # When DevTools is emulating mobile device, frame resize may mean device size ha s changed,
392 # which in turn affects media queries. 396 # which in turn affects media queries.
393 resizeIsDeviceSizeChange initial=false 397 resizeIsDeviceSizeChange initial=false
394 398
395 # Whether the browser process sends gesture events for wheel events. 399 # Whether the browser process sends gesture events for wheel events.
396 # Can be removed when crbug.com/598798 is fixed. 400 # Can be removed when crbug.com/598798 is fixed.
397 wheelGesturesEnabled initial=false 401 wheelGesturesEnabled initial=false
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698