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

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

Issue 2620883002: Convert Settings.in, CSSValueKeywords.in, SVGCSSValueKeywords.in to json5 (Closed)
Patch Set: Fix comment indent in data Created 3 years, 11 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
(Empty)
1 {
2 // Defines properties which are available on the Settings object.
3 //
4 // Please think carefully before adding a new Setting. Some questions to
5 // consider are:
6 // - Should this be a RuntimeEnabledFeature instead? Settings are for things
7 // which we support either values of at runtime. Features are set at renderer
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, where
10 // as settings both codepaths need to be stable.
11 // - How will you ensure test coverage of all relevant values of your setting?
12 // - Is the default value appropriate for other platforms or ports which may
13 // not be aware of your setting?
14 // - Can your setting result in behavior differences observable to web
15 // developers?
16 // - Should this setting ideally be removed in the future? If so please file
17 // a bug and reference it in the comments for your setting.
18 //
19 // One reason to add a Setting is to manage the risk associated with adding a
20 // new feature. For example, we may choose to ship a new UI behavior or
21 // performance optimization to ChromeOS users first (in order to gather feedback
22 // and metrics on its use from the wild) before attempting to ship it to
23 // Windows.
24 //
25 // FIXME: Add support for global settings.
26 // FIXME: Add support for custom getters/setters.
27
28 // Valid parameters for data entries below.
29 parameters: {
30 type: {
31 default: "bool"
32 },
33 initial: {},
34 invalidate: {},
35 },
36
37 data: [
38 {
39 name: "defaultTextEncodingName",
40 type: "String",
41 },
42
43 // Do not hide chars typed in password fields immediately, but let the last ch ar stay
44 // visible for N seconds, configured by the passwordEchoDurationInSeconds sett ing
45 // FIXME: Enable automatically if passwordEchoDurationInSeconds is set to a po sitive value.
46 {
47 name: "passwordEchoEnabled",
48 initial: false,
49 },
50
51 // Configure how long the last char should say visible in seconds.
52 {
53 name: "passwordEchoDurationInSeconds",
54 initial: 1,
55 type: "double",
56 },
57
58 // Sets the magnification value for validation message timer. If the
59 // magnification value is N, a validation message disappears automatically aft er
60 // <message length> * N / 1000 seconds. If N is equal to or less than 0, a
61 // validation message doesn't disappears automaticaly.
62 {
63 name: "validationMessageTimerMagnification",
64 initial: 50,
65 type: "int",
66 },
67
68 // Number of pixels below which 2D canvas is rendered in software
69 // even if hardware acceleration is enabled.
70 // Hardware acceleration is useful for large canvases where it can avoid the
71 // pixel bandwidth between the CPU and GPU. But GPU acceleration comes at
72 // a price - extra back-buffer and texture copy. Small canvases are also
73 // widely used for stylized fonts. Anti-aliasing text in hardware at that
74 // scale is generally slower. So below a certain size it is better to
75 // draw canvas in software.
76 {
77 name: "minimumAccelerated2dCanvasSize",
78 initial: "257*256",
79 type: "int",
80 },
81
82 {
83 name: "minimumFontSize",
84 initial: 0,
85 invalidate: "Style",
86 type: "int",
87 },
88 {
89 name: "minimumLogicalFontSize",
90 initial: 0,
91 invalidate: "Style",
92 type: "int",
93 },
94 {
95 name: "defaultFontSize",
96 initial: 0,
97 invalidate: "Style",
98 type: "int",
99 },
100 {
101 name: "defaultFixedFontSize",
102 initial: 0,
103 invalidate: "Style",
104 type: "int",
105 },
106
107 {
108 name: "editingBehaviorType",
109 initial: "editingBehaviorTypeForPlatform()",
110 type: "EditingBehaviorType",
111 },
112
113 {
114 name: "localStorageEnabled",
115 initial: false,
116 },
117 {
118 name: "allowUniversalAccessFromFileURLs",
119 initial: true,
120 },
121 {
122 name: "allowFileAccessFromFileURLs",
123 initial: true,
124 },
125 {
126 name: "javaScriptCanOpenWindowsAutomatically",
127 initial: false,
128 },
129 {
130 name: "supportsMultipleWindows",
131 initial: true,
132 },
133 {
134 name: "javaScriptCanAccessClipboard",
135 initial: false,
136 },
137 {
138 name: "shouldPrintBackgrounds",
139 initial: false,
140 },
141 {
142 name: "shouldClearDocumentBackground",
143 initial: true,
144 },
145
146 {
147 name: "textAreasAreResizable",
148 initial: false,
149 invalidate: "Style",
150 },
151 {
152 name: "acceleratedCompositingEnabled",
153 initial: true,
154 invalidate: "AcceleratedCompositing",
155 },
156
157 {
158 name: "offlineWebApplicationCacheEnabled",
159 initial: true,
160 },
161 {
162 name: "allowScriptsToCloseWindows",
163 initial: false,
164 },
165
166 // FIXME: This should really be disabled by default as it makes platforms that
167 // don't support the feature download files they can't use by.
168 // Leaving enabled for now to not change existing behavior.
169 {
170 name: "downloadableBinaryFontsEnabled",
171 initial: true,
172 },
173
174 {
175 name: "xssAuditorEnabled",
176 initial: false,
177 },
178
179 {
180 name: "preferCompositingToLCDTextEnabled",
181 initial: false,
182 invalidate: "AcceleratedCompositing",
183 },
184
185 // 3D canvas (WebGL) support.
186 {
187 name: "webGLEnabled",
188 initial: false,
189 },
190
191 {
192 name: "webGLErrorsToConsoleEnabled",
193 initial: true,
194 },
195 {
196 name: "antialiased2dCanvasEnabled",
197 initial: true,
198 },
199 {
200 name: "antialiasedClips2dCanvasEnabled",
201 initial: true,
202 },
203 {
204 name: "accelerated2dCanvasMSAASampleCount",
205 initial: 0,
206 type: "int",
207 },
208
209 {
210 name: "hyperlinkAuditingEnabled",
211 initial: false,
212 },
213 {
214 name: "allowRunningOfInsecureContent",
215 initial: true,
216 },
217
218 {
219 name: "mediaControlsOverlayPlayButtonEnabled",
220 initial: false,
221 },
222 {
223 name: "mediaPlaybackRequiresUserGesture",
224 initial: false,
225 },
226
227 // This flags overrides mediaPlaybackRequiresUserGesture
228 {
229 name: "crossOriginMediaPlaybackRequiresUserGesture",
230 initial: false,
231 },
232
233 {
234 name: "presentationRequiresUserGesture",
235 initial: true,
236 },
237
238 {
239 name: "scrollAnimatorEnabled",
240 initial: true,
241 },
242
243 // Used to disable threaded, compositor scrolling for testing purposes.
244 // crbug.com/410974 tracks removal once alternative solutions for selective
245 // main thread scrolling are supported.
246 {
247 name: "threadedScrollingEnabled",
248 initial: true,
249 invalidate: "Style",
250 },
251
252 // Used in layout tests for gesture tap highlights. Makes the highlights squar e
253 // (rather than rounded) to make it possible to reftest the results.
254 {
255 name: "mockGestureTapHighlightsEnabled",
256 initial: false,
257 },
258
259 {
260 name: "shouldRespectImageOrientation",
261 initial: false,
262 },
263
264 // Limited use by features which behave differently depending on the input
265 // devices available. For example, the pointer and hover media queries.
266 // Note that we need to be careful when basing behavior or UI on this -
267 // just because a device is present doesn't mean the user cares about it
268 // or uses it (i.e. Chromebook Pixel users generally don't want to give up
269 // screen real estate just because they happen to have a touchscreen).
270 {
271 name: "deviceSupportsTouch",
272 initial: false,
273 },
274
275 // This value indicates the number of simultaneous multi-touch points supporte d
276 // by the currently connected screen/digitizer that supports the most points.
277 // From Pointer Events spec:
278 // http://www.w3.org/TR/pointerevents///widl-Navigator-maxTouchPoints
279 {
280 name: "maxTouchPoints",
281 initial: 0,
282 type: "int",
283 },
284
285 // Whether touch gestures should be "fuzzed" to nearest touch targets.
286 // It's expected that this is enabled everywhere by default, but it may be
287 // disabled for testing purposes as the algorithm is not yet perfect.
288 // crbug.com/304895 tracks removal once we're satisfied with the algorithm.
289 {
290 name: "touchAdjustmentEnabled",
291 initial: true,
292 },
293
294 // Determines whether WebViewClient::didTapMultipleTargets will be used for
295 // touch disambiguation.
296 {
297 name: "multiTargetTapNotificationEnabled",
298 initial: true,
299 },
300
301 {
302 name: "syncXHRInDocumentsEnabled",
303 initial: true,
304 },
305 {
306 name: "cookieEnabled",
307 initial: true,
308 },
309 {
310 name: "navigateOnDragDrop",
311 initial: true,
312 },
313 {
314 name: "DOMPasteAllowed",
315 initial: false,
316 },
317
318 {
319 name: "allowCustomScrollbarInMainFrame",
320 initial: true,
321 },
322 {
323 name: "webSecurityEnabled",
324 initial: true,
325 },
326
327 // Special keyboard navigation mode intented for platforms with no
328 // proper mouse or touch support, such as a TV controller with a remote.
329 {
330 name: "spatialNavigationEnabled",
331 initial: false,
332 },
333
334 // This setting adds a means to enable/disable touch initiated drag & drop. If
335 // enabled, the user can initiate drag using long press.
336 // crbug.com/304894 tracks removal once it's been enabled on all platforms.
337 {
338 name: "touchDragDropEnabled",
339 initial: false,
340 },
341
342 // Some apps could have a default video poster if it is not set.
343 {
344 name: "defaultVideoPosterURL",
345 type: "String",
346 },
347
348 {
349 name: "smartInsertDeleteEnabled",
350 initial: false,
351 },
352 {
353 name: "selectTrailingWhitespaceEnabled",
354 initial: "defaultSelectTrailingWhitespaceEnabled",
355 },
356
357 {
358 name: "selectionIncludesAltImageText",
359 initial: false,
360 },
361
362 {
363 name: "selectionStrategy",
364 initial: "SelectionStrategy::Character",
365 type: "SelectionStrategy",
366 },
367
368 //////////////// Settings used by Android WebView below ////////////////
369
370 {
371 name: "useLegacyBackgroundSizeShorthandBehavior",
372 initial: false,
373 },
374
375 // This quirk is to maintain compatibility with Android apps built on
376 // the Android SDK prior to and including version 18.
377 // Presumably, this can be removed any time after 2015.
378 // See http://crbug.com/282130.
379 {
380 name: "viewportMetaZeroValuesQuirk",
381 initial: false,
382 },
383
384 // Another Android SDK <= 18 quirk, removable 2015.
385 // See http://crbug.com/295287
386 {
387 name: "ignoreMainFrameOverflowHiddenQuirk",
388 initial: false,
389 },
390
391 // Yet another Android SDK <= 18 quirk, removable 2015.
392 // See http://crbug.com/305236
393 {
394 name: "reportScreenSizeInPhysicalPixelsQuirk",
395 initial: false,
396 },
397
398 // One more Android SDK <= 18 quirk, removable 2015.
399 // See http://crbug.com/306548
400 {
401 name: "viewportMetaMergeContentQuirk",
402 initial: false,
403 },
404
405 // This quirk is to maintain compatibility with Android apps.
406 // It will be possible to remove it once WebSettings.{get|set}UseWideViewPort
407 // API function will be removed.
408 // See http://crbug.com/288037.
409 {
410 name: "wideViewportQuirkEnabled",
411 initial: false,
412 },
413
414 // Used by the android_webview to support a horizontal height auto-sizing
415 // mode.
416 {
417 name: "forceZeroLayoutHeight",
418 initial: false,
419 invalidate: "ViewportDescription",
420 },
421
422 {
423 name: "mainFrameClipsContent",
424 initial: true,
425 },
426
427 // For android.webkit.WebSettings.setUseWideViewport()
428 // http://developer.android.com/reference/android/webkit/WebSettings.html//set UseWideViewPort(boolean)
429 {
430 name: "useWideViewport",
431 initial: true,
432 invalidate: "ViewportDescription",
433 },
434
435 // For android.webkit.WebSettings.setLoadWithOverviewMode()
436 // http://developer.android.com/reference/android/webkit/WebSettings.html//set LoadWithOverviewMode(boolean)
437 {
438 name: "loadWithOverviewMode",
439 initial: true,
440 invalidate: "ViewportDescription",
441 },
442
443 // Used by android_webview to support legacy apps that inject script into a to p-level initial empty
444 // document and expect it to persist on navigation, even though the origin is unique. Note that this
445 // behavior violates the requirements described by [Initialising a new Documen t object] in
446 // https://html.spec.whatwg.org/multipage/browsers.html//navigating-across-doc uments.
447 {
448 name: "shouldReuseGlobalForUnownedMainFrame",
449 initial: false,
450 },
451
452 //////////////// End of settings used by Android WebView ////////////////
453
454
455 // Touch based text selection and editing on desktop.
456 // crbug.com/304873 tracks removal once it's been enabled on all platforms.
457 {
458 name: "touchEditingEnabled",
459 initial: false,
460 },
461
462 // If true, scrollers will use overlay scrollbars. These do not take up any
463 // layout width, are drawn using solid color quads by the compositor, and fade away
464 // after a timeout.
465 {
466 name: "useSolidColorScrollbars",
467 initial: false,
468 },
469
470 // Experiment to have all APIs reflect the layout viewport.
471 // crbug.com/489206 tracks the experiment.
472 {
473 name: "inertVisualViewport",
474 initial: false,
475 },
476
477 // The rubber-band overscroll effect is implemented in Blink and is being move d
478 // to the compositor thread. This will be set to true and eventually removed.
479 // crbug.com/133097
480 {
481 name: "rubberBandingOnCompositorThread",
482 initial: false,
483 },
484
485 // Font scale factor for accessibility, applied as part of text autosizing.
486 {
487 name: "accessibilityFontScaleFactor",
488 initial: "1.0",
489 invalidate: "TextAutosizing",
490 type: "double",
491 },
492
493 // Only used by Layout Tests and inspector emulation.
494 {
495 name: "mediaTypeOverride",
496 initial: "\"\"",
497 invalidate: "MediaQuery",
498 type: "String",
499 },
500 {
501 name: "displayModeOverride",
502 initial: "WebDisplayModeUndefined",
503 invalidate: "MediaQuery",
504 type: "WebDisplayMode",
505 },
506
507 // loadsImagesAutomatically only suppresses the network load of
508 // the image URL. A cached image will still be rendered if requested.
509 {
510 name: "loadsImagesAutomatically",
511 initial: false,
512 invalidate: "ImageLoading",
513 },
514 {
515 name: "imagesEnabled",
516 initial: true,
517 invalidate: "ImageLoading",
518 },
519 {
520 name: "imageAnimationPolicy",
521 initial: "ImageAnimationPolicyAllowed",
522 type: "ImageAnimationPolicy",
523 },
524
525 // Number of outstanding and pending tokens allowed in the background HTML
526 // parser. A value of 0 indicates the parser should use its default value.
527 {
528 name: "backgroundHtmlParserOutstandingTokenLimit",
529 initial: 0,
530 type: "unsigned",
531 },
532 {
533 name: "backgroundHtmlParserPendingTokenLimit",
534 initial: 0,
535 type: "unsigned",
536 },
537
538 // Html preload scanning is a fast, early scan of HTML documents to find loada ble
539 // resources before the parser advances to them. If it is disabled, resources will
540 // be loaded later.
541 {
542 name: "doHtmlPreloadScanning",
543 initial: true,
544 },
545
546 {
547 name: "pluginsEnabled",
548 initial: false,
549 },
550
551 {
552 name: "viewportEnabled",
553 initial: false,
554 invalidate: "ViewportDescription",
555 },
556 {
557 name: "viewportMetaEnabled",
558 initial: false,
559 invalidate: "ViewportDescription",
560 },
561
562 {
563 name: "dnsPrefetchingEnabled",
564 initial: false,
565 invalidate: "DNSPrefetching",
566 },
567
568 {
569 name: "dataSaverEnabled",
570 initial: false,
571 },
572
573 // FIXME: This is a temporary flag and should be removed
574 // when squashing is ready. (crbug.com/261605)
575 {
576 name: "layerSquashingEnabled",
577 initial: false,
578 },
579
580 // Clients that execute script should call ScriptController::canExecuteScripts ()
581 // instead of this function. ScriptController::canExecuteScripts() checks the
582 // HTML sandbox, plugin sandboxing, and other important details.
583 {
584 name: "scriptEnabled",
585 initial: false,
586 },
587
588 // Forces initialization of main world, even if no scripts will be executed.
589 // Used by inspector to report all contexts.
590 {
591 name: "forceMainWorldInitialization",
592 initial: false,
593 invalidate: "DOMWorlds",
594 },
595
596 // Compensates for poor text legibility on mobile devices. This value is
597 // multiplied by the font scale factor when performing text autosizing of
598 // websites that do not set an explicit viewport description.
599 {
600 name: "deviceScaleAdjustment",
601 initial: "1.0",
602 invalidate: "TextAutosizing",
603 type: "double",
604 },
605
606 // This value indicates the maximum number of bytes a document is allowed to
607 // transmit in Beacons (via navigator.sendBeacon()) -- Beacons are intended to be
608 // smaller payloads transmitted as a page is unloading, not a general (one-way )
609 // network transmission API. The spec <https://w3c.github.io/beacon/> does not
610 // proscribe an upper limit, but allows for it -- the underlying API will retu rn
611 // 'false' in that case.
612 {
613 name: "maxBeaconTransmission",
614 initial: 65536,
615 type: "int",
616 },
617
618 // This value is set to false if the platform does not support fullscreen.
619 // When set to false all the requests to enter fullscreen will return an error
620 // (fullscreenerror or webkitfullscreenerror) as specified in the standard:
621 // http://fullscreen.spec.whatwg.org///dom-element-requestfullscreen
622 {
623 name: "fullscreenSupported",
624 initial: true,
625 },
626
627 // V8 supports different types of caching. Used by V8 bindings.
628 {
629 name: "v8CacheOptions",
630 initial: "V8CacheOptionsDefault",
631 type: "V8CacheOptions",
632 },
633
634 // V8 code cache for CacheStorage supports three types of strategies (none, no rmal and aggressive).
635 {
636 name: "v8CacheStrategiesForCacheStorage",
637 initial: "V8CacheStrategiesForCacheStorage::Default",
638 type: "V8CacheStrategiesForCacheStorage",
639 },
640
641 // These values are bit fields for the properties of available pointing device s
642 // and may take on multiple values (e.g. laptop with touchpad and touchscreen
643 // has pointerType coarse *and* fine).
644 {
645 name: "availablePointerTypes",
646 initial: "PointerTypeNone",
647 invalidate: "MediaQuery",
648 type: "int",
649 },
650 {
651 name: "availableHoverTypes",
652 initial: "HoverTypeNone",
653 invalidate: "MediaQuery",
654 type: "int",
655 },
656
657 // These values specify properties of the user's primary pointing device only.
658 {
659 name: "primaryPointerType",
660 initial: "PointerTypeNone",
661 invalidate: "MediaQuery",
662 type: "PointerType",
663 },
664 {
665 name: "primaryHoverType",
666 initial: "HoverTypeNone",
667 invalidate: "MediaQuery",
668 type: "HoverType",
669 },
670
671 // Whether accessibility support is enabled at all.
672 {
673 name: "accessibilityEnabled",
674 initial: false,
675 invalidate: "AccessibilityState",
676 },
677
678 // If true, the value in password fields is exposed to assistive technologies.
679 {
680 name: "accessibilityPasswordValuesEnabled",
681 initial: false,
682 },
683
684 // If true, static text nodes expose inline text box children.
685 {
686 name: "inlineTextBoxAccessibilityEnabled",
687 initial: false,
688 },
689
690 // If true, context menu will be shown on mouse up instead of mouse down.
691 // Typically enabled on Windows to match platform convention.
692 {
693 name: "showContextMenuOnMouseUp",
694 initial: false,
695 },
696
697 // If true, context menu will be shown on any long press event.
698 // Used on Android to prevent a context menu from being shown in certain situa tions
699 // (i.e. long pressing an empty div)
700 {
701 name: "alwaysShowContextMenuOnTouch",
702 initial: true,
703 },
704
705 {
706 name: "disableReadingFromCanvas",
707 initial: false,
708 },
709 {
710 name: "strictMixedContentChecking",
711 initial: false,
712 },
713 {
714 name: "strictMixedContentCheckingForPlugin",
715 initial: false,
716 },
717 {
718 name: "strictPowerfulFeatureRestrictions",
719 initial: false,
720 },
721 {
722 name: "strictlyBlockBlockableMixedContent",
723 initial: false,
724 },
725 {
726 name: "allowGeolocationOnInsecureOrigins",
727 initial: false,
728 },
729 {
730 name: "logDnsPrefetchAndPreconnect",
731 initial: false,
732 },
733 {
734 name: "logPreload",
735 initial: false,
736 },
737
738 // These values specify the UA intial viewport style.
739 // It is dynamically set by the inspector for mobile emulation and can be
740 // used by content embedders to specify custom style on certain platforms.
741 {
742 name: "viewportStyle",
743 initial: "WebViewportStyle::Default",
744 invalidate: "ViewportRule",
745 type: "WebViewportStyle",
746 },
747
748 // Automatic track selection is performed based on user preference for track k ind specified
749 // by this setting.
750 {
751 name: "textTrackKindUserPreference",
752 initial: "TextTrackKindUserPreference::Default",
753 invalidate: "TextTrackKindUserPreference",
754 type: "TextTrackKindUserPreference",
755 },
756
757 // User style overrides for captions and subtitles
758 {
759 name: "textTrackBackgroundColor",
760 type: "String",
761 },
762 {
763 name: "textTrackFontFamily",
764 type: "String",
765 },
766 {
767 name: "textTrackFontStyle",
768 type: "String",
769 },
770 {
771 name: "textTrackFontVariant",
772 type: "String",
773 },
774 {
775 name: "textTrackTextColor",
776 type: "String",
777 },
778 {
779 name: "textTrackTextShadow",
780 type: "String",
781 },
782 {
783 name: "textTrackTextSize",
784 type: "String",
785 },
786
787 // Margin for title-safe placement of cues with overscan, gives top and bottom margin size as
788 // percentage of video element height (for horizontal text) into which cues wi ll not be placed.
789 {
790 name: "textTrackMarginPercentage",
791 initial: 0,
792 type: "double",
793 },
794
795 {
796 name: "lowPriorityIframes",
797 initial: false,
798 },
799
800 {
801 name: "progressBarCompletion",
802 initial: "ProgressBarCompletion::LoadEvent",
803 type: "ProgressBarCompletion",
804 },
805
806 {
807 name: "historyEntryRequiresUserGesture",
808 initial: false,
809 },
810
811 // Do we want to try to save screen real estate in the media player by hiding
812 // the volume slider / mute button?
813 {
814 name: "preferHiddenVolumeControls",
815 initial: false,
816 },
817
818 // Whether to disallow network fetches for parser blocking scripts in the main
819 // frame inserted via document.write, for users on 2G or connections that are
820 // effectively 2G.
821 {
822 name: "disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G",
823 initial: false,
824 },
825
826 // Whether to disallow network fetches for parser blocking scripts in the main
827 // frame inserted via document.write, for users on slow connections.
828 {
829 name: "disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections",
830 initial: false,
831 },
832
833 // Whether to disallow network fetches for parser blocking scripts in the main
834 // frame inserted via document.write, regardless of connection type.
835 {
836 name: "disallowFetchForDocWrittenScriptsInMainFrame",
837 initial: false,
838 },
839
840 // Whether to invalidate device-dependent media queries and restore scroll pos itions
841 // on frame resize assuming device rotation.
842 {
843 name: "mainFrameResizesAreOrientationChanges",
844 initial: false,
845 },
846
847 // Ability to override the default 'passive' value in AddEventListenerOptions. This
848 // is useful to demonstrate the power of passive event listeners. This can be removed
849 // when there is greater adoption, interventions to force it on and associated devtools
850 // to enable it have been shipped.
851 {
852 name: "passiveListenerDefault",
853 initial: "PassiveListenerDefault::False",
854 type: "PassiveListenerDefault",
855 },
856
857 // Use default interpolation quality to scale bitmap images if quality is not determined
858 // in other ways. This can help us writing reftests containing scaled images.
859 {
860 name: "useDefaultImageInterpolationQuality",
861 initial: false,
862 },
863
864 // Variant of the ParseHTMLOnMainThread experiment. One experiment immediately
865 // tokenizes input bytes. The default is to tokenize with a post task.
866 {
867 name: "parseHTMLOnMainThreadSyncTokenize",
868 initial: false,
869 },
870
871 // Variant of the ParseHTMLOnMainThread experiment. This is designed to coales ce
872 // TokenizedChunks when the experiment is running in threaded mode.
873 {
874 name: "parseHTMLOnMainThreadCoalesceChunks",
875 initial: false,
876 },
877
878 // Whether the CSSPreloadScanner is used for externally CSS preloads. NoPreloa d
879 // indicates that the scanner will be used, but no preloads issued.
880 {
881 name: "cssExternalScannerNoPreload",
882 initial: false,
883 },
884 {
885 name: "cssExternalScannerPreload",
886 initial: false,
887 },
888
889 {
890 name: "browserSideNavigationEnabled",
891 initial: false,
892 },
893
894 // Some platforms have media subsystems which are too buggy to allow preloadin g
895 // of content by default. See http://crbug.com/612909 for details.
896 {
897 name: "forcePreloadNoneForMediaElements",
898 initial: false,
899 },
900
901 {
902 name: "hideScrollbars",
903 initial: false,
904 },
905
906 // Spellchecking is enabled by default for elements that do not specify it exp licitly
907 // using the "spellcheck" attribute.
908 {
909 name: "spellCheckEnabledByDefault",
910 initial: true,
911 },
912
913 // Whether download UI should be hidden for the current page content.
914 {
915 name: "hideDownloadUI",
916 initial: false,
917 },
918
919 // Whether or not to issue range requests for images and show placeholders.
920 {
921 name: "fetchImagePlaceholders",
922 initial: false,
923 },
924
925 // Whether the frame is a presentation receiver and should expose
926 // `navigator.presentation.receiver`.
927 {
928 name: "presentationReceiver",
929 initial: false,
930 },
931 ]
932 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698