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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 273 |
274 # Clients that execute script should call ScriptController::canExecuteScripts() | 274 # Clients that execute script should call ScriptController::canExecuteScripts() |
275 # instead of this function. ScriptController::canExecuteScripts() checks the | 275 # instead of this function. ScriptController::canExecuteScripts() checks the |
276 # HTML sandbox, plug-in sandboxing, and other important details. | 276 # HTML sandbox, plug-in sandboxing, and other important details. |
277 scriptEnabled initial=false, invalidate=ScriptEnable | 277 scriptEnabled initial=false, invalidate=ScriptEnable |
278 | 278 |
279 # Compensates for poor text legibility on mobile devices. This value is | 279 # Compensates for poor text legibility on mobile devices. This value is |
280 # multiplied by the font scale factor when performing text autosizing of | 280 # multiplied by the font scale factor when performing text autosizing of |
281 # websites that do not set an explicit viewport description. | 281 # websites that do not set an explicit viewport description. |
282 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 282 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
| 283 |
| 284 # This value indicates the maximum number of bytes a document is allowed |
| 285 # to transmit in Beacons (via navigator.sendBeacon()) -- Beacons are |
| 286 # intended to be smaller payloads transmitted as a page is unloading, not |
| 287 # a general (one-way) network transmission API. |
| 288 # The spec ( https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/Beacon/Overview.h
tml ) |
| 289 # does not proscribe an upper limit, but allows for it -- the underlying |
| 290 # API will return 'false' in that case. |
| 291 maxBeaconTransmission type=int, initial=16384 |
| 292 |
OLD | NEW |