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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 # websites that do not set an explicit viewport description. | 257 # websites that do not set an explicit viewport description. |
258 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 258 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
259 | 259 |
260 # This value indicates the maximum number of bytes a document is allowed | 260 # This value indicates the maximum number of bytes a document is allowed |
261 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are | 261 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are |
262 # intended to be smaller payloads transmitted as a page is unloading, not | 262 # intended to be smaller payloads transmitted as a page is unloading, not |
263 # a general (one-way) network transmission API. | 263 # a general (one-way) network transmission API. |
264 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) | 264 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) |
265 # does not proscribe an upper limit, but allows for it -- the underlying | 265 # does not proscribe an upper limit, but allows for it -- the underlying |
266 # API will return 'false' in that case. | 266 # API will return 'false' in that case. |
267 maxBeaconTransmission type=int, initial=16384 | 267 maxBeaconTransmission type=int, initial=65536 |
268 | 268 |
269 # This value is set to false if the platform does not support fullscreen. | 269 # This value is set to false if the platform does not support fullscreen. |
270 # When set to false all the requests to enter fullscreen will return an error | 270 # When set to false all the requests to enter fullscreen will return an error |
271 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: | 271 # (fullscreenerror or webkitfullscreenerror) as specified in the standard: |
272 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen | 272 # http://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen |
273 fullscreenSupported initial=true | 273 fullscreenSupported initial=true |
274 | 274 |
275 # FIXME: This is a temporary flag and should be removed once | 275 # FIXME: This is a temporary flag and should be removed once |
276 # the Android WebView framework supports fullscreen for non-media elements | 276 # the Android WebView framework supports fullscreen for non-media elements |
277 # (crbug.com/398485). | 277 # (crbug.com/398485). |
278 # This value is set to false if the platform does not support fullscreen | 278 # This value is set to false if the platform does not support fullscreen |
279 # for non-media elements. When set to true all the requests to enter fullscreen | 279 # for non-media elements. When set to true all the requests to enter fullscreen |
280 # on non-media elements will return an error. | 280 # on non-media elements will return an error. |
281 disallowFullscreenForNonMediaElements initial=false | 281 disallowFullscreenForNonMediaElements initial=false |
282 | 282 |
283 # V8 supports different types of caching. Used by V8 bindings. | 283 # V8 supports different types of caching. Used by V8 bindings. |
284 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsOff | 284 v8CacheOptions type=V8CacheOptions, initial=V8CacheOptionsOff |
285 | 285 |
OLD | NEW |