1# FIXME: Add support for global settings. 2# FIXME: Add support for custom getters/setters. 3 4defaultTextEncodingName type=String 5ftpDirectoryTemplatePath type=String 6localStorageDatabasePath type=String 7editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior 8textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded 9passwordEchoDurationInSeconds type=double, initial=1 10 11# Sets the magnification value for validation message timer. If the 12# magnification value is N, a validation message disappears automatically after 13# <message length> * N / 1000 seconds. If N is equal to or less than 0, a 14# validation message doesn't disappears automaticaly. 15validationMessageTimerMagnification type=int, initial=50 16 17# Number of pixels below which 2D canvas is rendered in software 18# even if hardware acceleration is enabled. 19# Hardware acceleration is useful for large canvases where it can avoid the 20# pixel bandwidth between the CPU and GPU. But GPU acceleration comes at 21# a price - extra back-buffer and texture copy. Small canvases are also 22# widely used for stylized fonts. Anti-aliasing text in hardware at that 23# scale is generally slower. So below a certain size it is better to 24# draw canvas in software. 25minimumAccelerated2dCanvasSize type=int, initial=257*256 26 27layoutFallbackWidth type=int, initial=980 28deviceWidth type=int, initial=0 29deviceHeight type=int, initial=0 30 31# Allow clients concerned with memory consumption to set a quota on session storage 32# since the memory used won't be released until the Page is destroyed. 33sessionStorageQuota type=unsigned, initial=StorageMap::noQuota 34 35minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1 36minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1 37defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1 38defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1 39 40editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform() 41maximumHTMLParserDOMTreeDepth type=unsigned, initial=defaultMaximumHTMLParserDOMTreeDepth 42 43# This setting only affects site icon image loading if loadsImagesAutomatically setting is false and this setting is true. 44# All other permutations still heed loadsImagesAutomatically setting. 45loadsSiteIconsIgnoringImageLoadingSetting initial=false 46 47caretBrowsingEnabled initial=false 48localStorageEnabled initial=false 49allowUniversalAccessFromFileURLs initial=true 50allowFileAccessFromFileURLs initial=true 51javaScriptCanOpenWindowsAutomatically initial=false 52javaScriptCanAccessClipboard initial=false 53shouldPrintBackgrounds initial=false 54usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT 55 56textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1 57authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1 58acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1 59acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1 60showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1 61showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1 62 63# This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching, 64# making keyIdentifier available on keypress events, making charCode available on keydown/keyup events, 65# and getting keypress dispatched in more cases. 66needsKeyboardEventDisambiguationQuirks initial=false 67 68treatsAnyTextCSSLinkAsStylesheet initial=false 69shrinksStandaloneImagesToFit initial=true 70pageCacheSupportsPlugins initial=false 71showsURLsInToolTips initial=false 72showsToolTipOverTruncatedText initial=false 73forceFTPDirectoryListings initial=false 74developerExtrasEnabled initial=false 75javaScriptExperimentsEnabled initial=false 76scriptMarkupEnabled initial=true 77needsSiteSpecificQuirks initial=false 78webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE 79localFileContentSniffingEnabled initial=false 80offlineWebApplicationCacheEnabled initial=false 81enforceCSSMIMETypeInNoQuirksMode initial=true 82usesEncodingDetector initial=false 83allowScriptsToCloseWindows initial=false 84canvasUsesAcceleratedDrawing initial=false 85acceleratedDrawingEnabled initial=false 86acceleratedFiltersEnabled initial=false 87useLegacyTextAlignPositionedElementBehavior initial=false 88 89# FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files 90# they can't use by. Leaving enabled for now to not change existing behavior. 91downloadableBinaryFontsEnabled initial=true 92 93xssAuditorEnabled initial=false 94unsafePluginPastingEnabled initial=true 95acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled 96acceleratedCompositingForOverflowScrollEnabled initial=false 97 98experimentalNotificationsEnabled initial=false 99webGLEnabled initial=false 100webGLErrorsToConsoleEnabled initial=true 101openGLMultisamplingEnabled initial=true 102multithreadedWebGLEnabled initial=false 103privilegedWebGLExtensionsEnabled initial=false 104forceSoftwareWebGLRendering initial=false 105accelerated2dCanvasEnabled initial=false 106antialiased2dCanvasEnabled initial=true 107loadDeferringEnabled initial=true 108webAudioEnabled initial=false 109paginateDuringLayoutEnabled initial=false 110fullScreenEnabled initial=false, conditional=FULLSCREEN_API 111asynchronousSpellCheckingEnabled initial=false 112mediaStreamEnabled initial=false 113 114# This feature requires an implementation of ValidationMessageClient. 115interactiveFormValidationEnabled initial=false 116 117usePreHTML5ParserQuirks initial=false 118hyperlinkAuditingEnabled initial=false 119crossOriginCheckInGetMatchedCSSRulesDisabled initial=false 120forceCompositingMode initial=false 121shouldInjectUserScriptsInInitialEmptyDocument initial=false 122fixedElementsLayoutRelativeToFrame initial=false 123allowDisplayOfInsecureContent initial=true 124allowRunningOfInsecureContent initial=true 125mediaPlaybackRequiresUserGesture initial=defaultMediaPlaybackRequiresUserGesture 126mediaPlaybackAllowsInline initial=defaultMediaPlaybackAllowsInline 127passwordEchoEnabled initial=false 128suppressesIncrementalRendering initial=false 129incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds 130backspaceKeyNavigationEnabled initial=true 131shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK 132shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK 133shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK 134scrollingCoordinatorEnabled initial=false 135scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames 136scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING 137forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false 138notificationsEnabled initial=true 139 140# Some apps needs isLoadingInAPISense to account for active subresource loaders. 141needsIsLoadingInAPISenseQuirk initial=false 142 143shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation 144wantsBalancedSetDefersLoadingBehavior initial=false 145requestAnimationFrameEnabled initial=true 146deviceSupportsTouch initial=false 147deviceSupportsMouse initial=true 148 149fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext 150syncXHRInDocumentsEnabled initial=true 151cookieEnabled initial=true 152mediaEnabled initial=true 153applicationChromeMode initial=false 154DOMPasteAllowed initial=false 155 156# When enabled, window.blur() does not change focus, and 157# window.focus() only changes focus when invoked from the context that 158# created the window. 159windowFocusRestricted initial=true 160 161diagnosticLoggingEnabled initial=false 162applyDeviceScaleFactorInCompositor initial=true 163delegatesPageScaling initial=false 164plugInSnapshottingEnabled initial=false 165snapshotAllPlugIns initial=false 166autostartOriginPlugInSnapshottingEnabled initial=true 167primaryPlugInSnapshotDetectionEnabled initial=true 168maximumPlugInSnapshotAttempts type=unsigned, initial=20 169frameFlatteningEnabled initial=false 170 171allowCustomScrollbarInMainFrame initial=true 172webSecurityEnabled initial=true 173spatialNavigationEnabled initial=false 174 175autoscrollForDragAndDropEnabled initial=false 176 177unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled 178 179logsPageMessagesToSystemConsoleEnabled initial=false 180 181backForwardCacheExpirationInterval type=double, initial=1800 182 183# Some apps could have a default video poster if it is not set. 184defaultVideoPosterURL type=String 185 186smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled 187selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled 188 189selectionIncludesAltImageText initial=true 190useLegacyBackgroundSizeShorthandBehavior initial=false 191fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument 192 193minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING 194 195simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1 196simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1 197 198subpixelCSSOMElementMetricsEnabled initial=false 199 200mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE 201 202# FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm. 203allowMultiElementImplicitSubmission initial=false 204 205mediaPlaybackAllowsAirPlay initial=true, conditional=IOS_AIRPLAY 206 207shouldConvertPositionStyleOnCopy initial=false 208 209maxParseDuration type=double, initial=-1 210standalone initial=false 211telephoneNumberParsingEnabled initial=false 212mediaDataLoadsAutomatically initial=false 213shouldTransformsAffectOverflow initial=true 214shouldDispatchJavaScriptWindowOnErrorEvents initial=false 215alwaysUseAcceleratedOverflowScroll initial=false 216imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS 217 218# FIXME: This is unneeded and should be removed. 219alwaysUseBaselineOfPrimaryFont initial=false 220 221enableInheritURIQueryComponent initial=false 222 223aggressiveTileRetentionEnabled initial=false 224temporaryTileCohortRetentionEnabled initial=true 225 226useImageDocumentForSubframePDF initial=false 227 228# Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes 229# of 1080p video and stereo audio. 230maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE 231