OLD | NEW |
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 278 |
279 # FIXME: This is a temporary flag and should be removed | 279 # FIXME: This is a temporary flag and should be removed |
280 # when squashing is ready. (crbug.com/261605) | 280 # when squashing is ready. (crbug.com/261605) |
281 layerSquashingEnabled initial=false | 281 layerSquashingEnabled initial=false |
282 | 282 |
283 # Clients that execute script should call ScriptController::canExecuteScripts() | 283 # Clients that execute script should call ScriptController::canExecuteScripts() |
284 # instead of this function. ScriptController::canExecuteScripts() checks the | 284 # instead of this function. ScriptController::canExecuteScripts() checks the |
285 # HTML sandbox, plugin sandboxing, and other important details. | 285 # HTML sandbox, plugin sandboxing, and other important details. |
286 scriptEnabled initial=false | 286 scriptEnabled initial=false |
287 | 287 |
| 288 # Forces initialization of main world, even if no scripts will be executed. |
| 289 # Used by inspector to report all contexts. |
| 290 forceMainWorldInitialization initial=false, invalidate=DOMWorlds |
| 291 |
288 # Compensates for poor text legibility on mobile devices. This value is | 292 # Compensates for poor text legibility on mobile devices. This value is |
289 # multiplied by the font scale factor when performing text autosizing of | 293 # multiplied by the font scale factor when performing text autosizing of |
290 # websites that do not set an explicit viewport description. | 294 # websites that do not set an explicit viewport description. |
291 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 295 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
292 | 296 |
293 # This value indicates the maximum number of bytes a document is allowed | 297 # This value indicates the maximum number of bytes a document is allowed |
294 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are | 298 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are |
295 # intended to be smaller payloads transmitted as a page is unloading, not | 299 # intended to be smaller payloads transmitted as a page is unloading, not |
296 # a general (one-way) network transmission API. | 300 # a general (one-way) network transmission API. |
297 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) | 301 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 | 404 |
401 # Ability to override the default 'passive' value in AddEventListenerOptions. Th
is | 405 # Ability to override the default 'passive' value in AddEventListenerOptions. Th
is |
402 # is useful to demonstrate the power of passive event listeners. This can be rem
oved | 406 # is useful to demonstrate the power of passive event listeners. This can be rem
oved |
403 # when there is greater adoption, interventions to force it on and associated de
vtools | 407 # when there is greater adoption, interventions to force it on and associated de
vtools |
404 # to enable it have been shipped. | 408 # to enable it have been shipped. |
405 passiveListenerDefault type=PassiveListenerDefault, initial=PassiveListenerDefau
lt::False | 409 passiveListenerDefault type=PassiveListenerDefault, initial=PassiveListenerDefau
lt::False |
406 | 410 |
407 # Use default interpolation quality to scale bitmap images if quality is not det
ermined | 411 # Use default interpolation quality to scale bitmap images if quality is not det
ermined |
408 # in other ways. This can help us writing reftests containing scaled images. | 412 # in other ways. This can help us writing reftests containing scaled images. |
409 useDefaultImageInterpolationQuality initial=false | 413 useDefaultImageInterpolationQuality initial=false |
OLD | NEW |