Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.json5

Issue 2753863003: Clarify Beacon transmission limit checking. (Closed)
Patch Set: rebased upto r459528 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 // Defines properties which are available on the Settings object. 2 // Defines properties which are available on the Settings object.
3 // 3 //
4 // Please think carefully before adding a new Setting. Some questions to 4 // Please think carefully before adding a new Setting. Some questions to
5 // consider are: 5 // consider are:
6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things 6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things
7 // which we support either values of at runtime. Features are set at render er 7 // which we support either values of at runtime. Features are set at render er
8 // process startup and are never changed. Features also tend to be set to a 8 // process startup and are never changed. Features also tend to be set to a
9 // value based on the platform or the stability of the code in question, whe re 9 // value based on the platform or the stability of the code in question, whe re
10 // as settings both codepaths need to be stable. 10 // as settings both codepaths need to be stable.
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 initial: "1.0", 604 initial: "1.0",
605 invalidate: "TextAutosizing", 605 invalidate: "TextAutosizing",
606 type: "double", 606 type: "double",
607 }, 607 },
608 608
609 // This value indicates the maximum number of bytes a document is allowed to 609 // This value indicates the maximum number of bytes a document is allowed to
610 // transmit in Beacons (via navigator.sendBeacon()) -- Beacons are intended to be 610 // transmit in Beacons (via navigator.sendBeacon()) -- Beacons are intended to be
611 // smaller payloads transmitted as a page is unloading, not a general (one-w ay) 611 // smaller payloads transmitted as a page is unloading, not a general (one-w ay)
612 // network transmission API. The spec <https://w3c.github.io/beacon/> does n ot 612 // network transmission API. The spec <https://w3c.github.io/beacon/> does n ot
613 // proscribe an upper limit, but allows for it -- the underlying API will re turn 613 // proscribe an upper limit, but allows for it -- the underlying API will re turn
614 // 'false' in that case. 614 // 'false' in that case. If the value is set to a negative value, no limit
615 // will be imposed.
615 { 616 {
616 name: "maxBeaconTransmission", 617 name: "maxBeaconTransmission",
617 initial: 65536, 618 initial: 65536,
618 type: "int", 619 type: "int",
619 }, 620 },
620 621
621 // This value is set to false if the platform does not support fullscreen. 622 // This value is set to false if the platform does not support fullscreen.
622 // When set to false all the requests to enter fullscreen will return an err or 623 // When set to false all the requests to enter fullscreen will return an err or
623 // (fullscreenerror or webkitfullscreenerror) as specified in the standard: 624 // (fullscreenerror or webkitfullscreenerror) as specified in the standard:
624 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen 625 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 }, 920 },
920 921
921 // Whether Blink should show media controls when `controls` attribute is use d. 922 // Whether Blink should show media controls when `controls` attribute is use d.
922 { 923 {
923 name: "mediaControlsEnabled", 924 name: "mediaControlsEnabled",
924 initial: true, 925 initial: true,
925 invalidate: "MediaControls", 926 invalidate: "MediaControls",
926 }, 927 },
927 ], 928 ],
928 } 929 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698