| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 277 |
| 278 # Forces initialization of main world, even if no scripts will be executed. | 278 # Forces initialization of main world, even if no scripts will be executed. |
| 279 # Used by inspector to report all contexts. | 279 # Used by inspector to report all contexts. |
| 280 forceMainWorldInitialization initial=false, invalidate=DOMWorlds | 280 forceMainWorldInitialization initial=false, invalidate=DOMWorlds |
| 281 | 281 |
| 282 # Compensates for poor text legibility on mobile devices. This value is | 282 # Compensates for poor text legibility on mobile devices. This value is |
| 283 # multiplied by the font scale factor when performing text autosizing of | 283 # multiplied by the font scale factor when performing text autosizing of |
| 284 # websites that do not set an explicit viewport description. | 284 # websites that do not set an explicit viewport description. |
| 285 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 285 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
| 286 | 286 |
| 287 # This value indicates the maximum number of bytes a document is allowed | 287 # This value indicates the maximum number of bytes a document is allowed to |
| 288 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are | 288 # transmit in Beacons (via navigator.sendBeacon()) -- Beacons are intended to be |
| 289 # intended to be smaller payloads transmitted as a page is unloading, not | 289 # smaller payloads transmitted as a page is unloading, not a general (one-way) |
| 290 # a general (one-way) network transmission API. | 290 # network transmission API. The spec <https://w3c.github.io/beacon/> does not |
| 291 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) | 291 # proscribe an upper limit, but allows for it -- the underlying API will return |
| 292 # does not proscribe an upper limit, but allows for it -- the underlying | 292 # 'false' in that case. |
| 293 # API will return 'false' in that case. | |
| 294 maxBeaconTransmission type=int, initial=65536 | 293 maxBeaconTransmission type=int, initial=65536 |
| 295 | 294 |
| 296 # This value is set to false if the platform does not support fullscreen. | 295 # This value is set to false if the platform does not support fullscreen. |
| 297 # When set to false all the requests to enter fullscreen will return an error | 296 # When set to false all the requests to enter fullscreen will return an error |
| 298 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: | 297 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: |
| 299 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen | 298 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen |
| 300 fullscreenSupported initial=true | 299 fullscreenSupported initial=true |
| 301 | 300 |
| 302 # V8 supports different types of caching. Used by V8 bindings. | 301 # V8 supports different types of caching. Used by V8 bindings. |
| 303 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsDefault | 302 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsDefault |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 427 |
| 429 # Whether download UI should be hidden for the current page content. | 428 # Whether download UI should be hidden for the current page content. |
| 430 hideDownloadUI initial=false | 429 hideDownloadUI initial=false |
| 431 | 430 |
| 432 # Whether or not to issue range requests for images and show placeholders. | 431 # Whether or not to issue range requests for images and show placeholders. |
| 433 fetchImagePlaceholders initial=false | 432 fetchImagePlaceholders initial=false |
| 434 | 433 |
| 435 # Whether the frame is a presentation receiver and should expose | 434 # Whether the frame is a presentation receiver and should expose |
| 436 # `navigator.presentation.receiver`. | 435 # `navigator.presentation.receiver`. |
| 437 presentationReceiver initial=false | 436 presentationReceiver initial=false |
| OLD | NEW |