REGRESSION(r179429): Can't type comments in Facebook
[WebKit-https.git] / Source / WebCore / page / Settings.in
1 # FIXME: Add support for global settings.
2 # FIXME: Add support for custom getters/setters.
3
4 defaultTextEncodingName type=String
5 ftpDirectoryTemplatePath type=String
6 localStorageDatabasePath type=String
7 editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehavior
8 textDirectionSubmenuInclusionBehavior type=TextDirectionSubmenuInclusionBehavior, initial=TextDirectionSubmenuAutomaticallyIncluded
9 passwordEchoDurationInSeconds 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.
15 validationMessageTimerMagnification 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.
25 minimumAccelerated2dCanvasSize type=int, initial=257*256
26
27 layoutFallbackWidth type=int, initial=980
28 deviceWidth type=int, initial=0
29 deviceHeight 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.
33 sessionStorageQuota type=unsigned, initial=StorageMap::noQuota
34
35 minimumFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
36 minimumLogicalFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
37 defaultFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
38 defaultFixedFontSize type=int, initial=0, setNeedsStyleRecalcInAllFrames=1
39
40 editingBehaviorType type=EditingBehaviorType, initial=editingBehaviorTypeForPlatform()
41 maximumHTMLParserDOMTreeDepth 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.
45 loadsSiteIconsIgnoringImageLoadingSetting initial=false
46
47 caretBrowsingEnabled initial=false
48 localStorageEnabled initial=false
49 allowUniversalAccessFromFileURLs initial=true
50 allowFileAccessFromFileURLs initial=true
51 javaScriptCanOpenWindowsAutomatically initial=false
52 javaScriptCanAccessClipboard initial=false
53 shouldPrintBackgrounds initial=false
54 usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
55
56 textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
57 authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
58 acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
59 acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
60 showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
61 showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
62 visibleDebugOverlayRegions type=DebugOverlayRegions, initial=0
63
64 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
65 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
66 # and getting keypress dispatched in more cases.
67 needsKeyboardEventDisambiguationQuirks initial=false
68
69 treatsAnyTextCSSLinkAsStylesheet initial=false
70 shrinksStandaloneImagesToFit initial=true
71 pageCacheSupportsPlugins initial=false
72 showsURLsInToolTips initial=false
73 showsToolTipOverTruncatedText initial=false
74 forceFTPDirectoryListings initial=false
75 developerExtrasEnabled initial=false
76 scriptMarkupEnabled initial=true
77 needsSiteSpecificQuirks initial=false
78 domTimersThrottlingEnabled initial=true
79 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
80 localFileContentSniffingEnabled initial=false
81 offlineWebApplicationCacheEnabled initial=false
82 enforceCSSMIMETypeInNoQuirksMode initial=true
83 usesEncodingDetector initial=false
84 allowScriptsToCloseWindows initial=false
85 canvasUsesAcceleratedDrawing initial=false
86 acceleratedDrawingEnabled initial=false
87 acceleratedFiltersEnabled initial=false
88 useLegacyTextAlignPositionedElementBehavior initial=false
89 javaScriptRuntimeFlags type=JSC::RuntimeFlags
90
91 # FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
92 # they can't use by. Leaving enabled for now to not change existing behavior.
93 downloadableBinaryFontsEnabled initial=true
94
95 xssAuditorEnabled initial=false
96 unsafePluginPastingEnabled initial=true
97 acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
98 acceleratedCompositingForOverflowScrollEnabled initial=false
99 rubberBandingForSubScrollableRegionsEnabled initial=true, conditional=RUBBER_BANDING
100
101 experimentalNotificationsEnabled initial=false
102 webGLEnabled initial=false
103 webGLErrorsToConsoleEnabled initial=true
104 openGLMultisamplingEnabled initial=true
105 privilegedWebGLExtensionsEnabled initial=false
106 forceSoftwareWebGLRendering initial=false
107 accelerated2dCanvasEnabled initial=false
108 antialiased2dCanvasEnabled initial=true
109 loadDeferringEnabled initial=true
110 webAudioEnabled initial=false
111 paginateDuringLayoutEnabled initial=false
112 fullScreenEnabled initial=false, conditional=FULLSCREEN_API
113 asynchronousSpellCheckingEnabled initial=false
114 mediaStreamEnabled initial=false
115
116 # This feature requires an implementation of ValidationMessageClient.
117 interactiveFormValidationEnabled initial=false
118
119 usePreHTML5ParserQuirks initial=false
120 hyperlinkAuditingEnabled initial=false
121 crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
122 forceCompositingMode initial=false
123 shouldInjectUserScriptsInInitialEmptyDocument initial=false
124 fixedElementsLayoutRelativeToFrame initial=false
125 allowDisplayOfInsecureContent initial=true
126 allowRunningOfInsecureContent initial=true
127 mediaPlaybackRequiresUserGesture initial=defaultMediaPlaybackRequiresUserGesture
128 mediaPlaybackAllowsInline initial=defaultMediaPlaybackAllowsInline
129 allowsAlternateFullscreen initial=defaultAllowsAlternateFullscreen
130 passwordEchoEnabled initial=false
131 suppressesIncrementalRendering initial=false
132 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
133 backspaceKeyNavigationEnabled initial=true
134 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
135 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
136 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
137 scrollingCoordinatorEnabled initial=false
138 scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames
139 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
140 forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false
141 notificationsEnabled initial=true
142
143 # Some apps needs isLoadingInAPISense to account for active subresource loaders.
144 needsIsLoadingInAPISenseQuirk initial=false
145
146 shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation
147 imageSubsamplingEnabled initial=defaultImageSubsamplingEnabled
148 wantsBalancedSetDefersLoadingBehavior initial=false
149 requestAnimationFrameEnabled initial=true
150
151 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
152 syncXHRInDocumentsEnabled initial=true
153 cookieEnabled initial=true
154 mediaEnabled initial=true
155 DOMPasteAllowed initial=false
156
157 # When enabled, window.blur() does not change focus, and
158 # window.focus() only changes focus when invoked from the context that
159 # created the window.
160 windowFocusRestricted initial=true
161
162 diagnosticLoggingEnabled initial=false
163 applyDeviceScaleFactorInCompositor initial=true
164 delegatesPageScaling initial=false
165 plugInSnapshottingEnabled initial=false
166 snapshotAllPlugIns initial=false
167 autostartOriginPlugInSnapshottingEnabled initial=true
168 primaryPlugInSnapshotDetectionEnabled initial=true
169 maximumPlugInSnapshotAttempts type=unsigned, initial=20
170 frameFlatteningEnabled initial=false
171
172 allowCustomScrollbarInMainFrame initial=true
173 webSecurityEnabled initial=true
174 spatialNavigationEnabled initial=false
175
176 autoscrollForDragAndDropEnabled initial=false
177
178 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
179
180 logsPageMessagesToSystemConsoleEnabled initial=false
181
182 backForwardCacheExpirationInterval type=double, initial=1800
183
184 # Some apps could have a default video poster if it is not set.
185 defaultVideoPosterURL type=String
186
187 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
188 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
189
190 selectionIncludesAltImageText initial=true
191 useLegacyBackgroundSizeShorthandBehavior initial=false
192 fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
193
194 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
195
196 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
197 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
198
199 subpixelCSSOMElementMetricsEnabled initial=false
200
201 mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
202
203 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
204 allowMultiElementImplicitSubmission initial=false
205
206 mediaPlaybackAllowsAirPlay initial=true, conditional=WIRELESS_PLAYBACK_TARGET
207
208 shouldConvertPositionStyleOnCopy initial=false
209
210 maxParseDuration type=double, initial=-1
211 standalone initial=false
212 telephoneNumberParsingEnabled initial=false
213 mediaDataLoadsAutomatically initial=false
214 shouldTransformsAffectOverflow initial=true
215 shouldDispatchJavaScriptWindowOnErrorEvents initial=false
216 alwaysUseAcceleratedOverflowScroll initial=false
217 imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
218
219 enableInheritURIQueryComponent initial=false
220
221 aggressiveTileRetentionEnabled initial=false
222 temporaryTileCohortRetentionEnabled initial=true
223
224 useImageDocumentForSubframePDF initial=false
225
226 # Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
227 # of 1080p video and stereo audio.
228 maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE
229
230 longMousePressEnabled initial=false
231
232 serviceControlsEnabled initial=false, conditional=SERVICE_CONTROLS
233
234 ignoreViewportScalingConstraints initial=false
235
236 appleMailPaginationQuirkEnabled initial=false
237
238 attachmentElementEnabled initial=true, conditional=ATTACHMENT_ELEMENT