<rdar://problem/16745596> [Cocoa] Crash when invoking a method with an unsigned param...
[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
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.
66 needsKeyboardEventDisambiguationQuirks initial=false
67
68 treatsAnyTextCSSLinkAsStylesheet initial=false
69 shrinksStandaloneImagesToFit initial=true
70 pageCacheSupportsPlugins initial=false
71 showsURLsInToolTips initial=false
72 showsToolTipOverTruncatedText initial=false
73 forceFTPDirectoryListings initial=false
74 developerExtrasEnabled initial=false
75 javaScriptExperimentsEnabled initial=false
76 scriptMarkupEnabled initial=true
77 needsSiteSpecificQuirks initial=false
78 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
79 localFileContentSniffingEnabled initial=false
80 offlineWebApplicationCacheEnabled initial=false
81 enforceCSSMIMETypeInNoQuirksMode initial=true
82 usesEncodingDetector initial=false
83 allowScriptsToCloseWindows initial=false
84 canvasUsesAcceleratedDrawing initial=false
85 acceleratedDrawingEnabled initial=false
86 acceleratedFiltersEnabled initial=false
87 regionBasedColumnsEnabled initial=false
88 cssGridLayoutEnabled initial=false
89 useLegacyTextAlignPositionedElementBehavior initial=false
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
100 # Works only in conjunction with forceCompositingMode.
101 compositedScrollingForFramesEnabled initial=false
102
103 experimentalNotificationsEnabled initial=false
104 webGLEnabled initial=false
105 webGLErrorsToConsoleEnabled initial=true
106 openGLMultisamplingEnabled initial=true
107 multithreadedWebGLEnabled initial=false
108 privilegedWebGLExtensionsEnabled initial=false
109 forceSoftwareWebGLRendering initial=false
110 accelerated2dCanvasEnabled initial=false
111 antialiased2dCanvasEnabled initial=true
112 loadDeferringEnabled initial=true
113 webAudioEnabled initial=false
114 paginateDuringLayoutEnabled initial=false
115 fullScreenEnabled initial=false, conditional=FULLSCREEN_API
116 asynchronousSpellCheckingEnabled initial=false
117 mediaStreamEnabled initial=false
118
119 # This feature requires an implementation of ValidationMessageClient.
120 interactiveFormValidationEnabled initial=false
121
122 usePreHTML5ParserQuirks initial=false
123 hyperlinkAuditingEnabled initial=false
124 crossOriginCheckInGetMatchedCSSRulesDisabled initial=false
125 forceCompositingMode initial=false
126 shouldInjectUserScriptsInInitialEmptyDocument initial=false
127 fixedElementsLayoutRelativeToFrame initial=false
128 allowDisplayOfInsecureContent initial=true
129 allowRunningOfInsecureContent initial=true
130 mediaPlaybackRequiresUserGesture initial=defaultMediaPlaybackRequiresUserGesture
131 mediaPlaybackAllowsInline initial=defaultMediaPlaybackAllowsInline
132 passwordEchoEnabled initial=false
133 suppressesIncrementalRendering initial=false
134 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
135 backspaceKeyNavigationEnabled initial=true
136 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
137 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
138 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
139 scrollingCoordinatorEnabled initial=false
140 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
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 wantsBalancedSetDefersLoadingBehavior initial=false
148 requestAnimationFrameEnabled initial=true
149 deviceSupportsTouch initial=false
150 deviceSupportsMouse initial=true
151
152 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
153 syncXHRInDocumentsEnabled initial=true
154 cookieEnabled initial=true
155 mediaEnabled initial=true
156 applicationChromeMode initial=false
157 DOMPasteAllowed initial=false
158
159 # When enabled, window.blur() does not change focus, and
160 # window.focus() only changes focus when invoked from the context that
161 # created the window.
162 windowFocusRestricted initial=true
163
164 diagnosticLoggingEnabled initial=false
165 applyDeviceScaleFactorInCompositor initial=true
166 delegatesPageScaling initial=false
167 plugInSnapshottingEnabled initial=false
168 snapshotAllPlugIns initial=false
169 autostartOriginPlugInSnapshottingEnabled initial=true
170 primaryPlugInSnapshotDetectionEnabled initial=true
171 maximumPlugInSnapshotAttempts type=unsigned, initial=20
172 frameFlatteningEnabled initial=false
173
174 allowCustomScrollbarInMainFrame initial=true
175 webSecurityEnabled initial=true
176 spatialNavigationEnabled initial=false
177
178 autoscrollForDragAndDropEnabled initial=false
179
180 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
181
182 logsPageMessagesToSystemConsoleEnabled initial=false
183
184 backForwardCacheExpirationInterval type=double, initial=1800
185
186 # Some apps could have a default video poster if it is not set.
187 defaultVideoPosterURL type=String
188
189 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
190 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
191
192 selectionIncludesAltImageText initial=true
193 useLegacyBackgroundSizeShorthandBehavior initial=false
194
195 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
196
197 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
198 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
199
200 mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
201
202 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
203 allowMultiElementImplicitSubmission initial=false
204
205 mediaPlaybackAllowsAirPlay initial=true, conditional=IOS_AIRPLAY
206
207 shouldConvertPositionStyleOnCopy initial=false
208
209 maxParseDuration type=double, initial=-1
210 standalone initial=false
211 telephoneNumberParsingEnabled initial=false
212 mediaDataLoadsAutomatically initial=false
213 shouldTransformsAffectOverflow initial=true
214 shouldDispatchJavaScriptWindowOnErrorEvents initial=false
215 alwaysUseAcceleratedOverflowScroll initial=false
216 imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
217
218 # FIXME: This is unneeded and should be removed.
219 alwaysUseBaselineOfPrimaryFont initial=false
220
221 enableInheritURIQueryComponent initial=false
222
223 aggressiveTileRetentionEnabled initial=false
224 temporaryTileCohortRetentionEnabled initial=true