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