Remove the 'ignoreViewportScalingConstraints' Setting, which was unused
[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=16, 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 preventKeyboardDOMEventDispatch initial=false
49 localStorageEnabled initial=false
50 allowUniversalAccessFromFileURLs initial=true
51 allowFileAccessFromFileURLs initial=true
52 javaScriptCanOpenWindowsAutomatically initial=false
53 javaScriptCanAccessClipboard initial=false
54 shouldPrintBackgrounds initial=false
55 usesDashboardBackwardCompatibilityMode initial=false, conditional=DASHBOARD_SUPPORT
56
57 textAreasAreResizable initial=false, setNeedsStyleRecalcInAllFrames=1
58 authorAndUserStylesEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
59 acceleratedCompositingEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
60 acceleratedCompositedAnimationsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
61 showDebugBorders initial=false, setNeedsStyleRecalcInAllFrames=1
62 showRepaintCounter initial=false, setNeedsStyleRecalcInAllFrames=1
63 visibleDebugOverlayRegions type=DebugOverlayRegions, initial=0
64
65 # This is a quirk we are pro-actively applying to old applications. It changes keyboard event dispatching,
66 # making keyIdentifier available on keypress events, making charCode available on keydown/keyup events,
67 # and getting keypress dispatched in more cases.
68 needsKeyboardEventDisambiguationQuirks initial=false
69
70 treatsAnyTextCSSLinkAsStylesheet initial=false
71 shrinksStandaloneImagesToFit initial=true
72 pageCacheSupportsPlugins initial=false
73 showsURLsInToolTips initial=false
74 showsToolTipOverTruncatedText initial=false
75 forceFTPDirectoryListings initial=false
76 developerExtrasEnabled initial=false
77 scriptMarkupEnabled initial=true
78 needsSiteSpecificQuirks initial=false
79 domTimersThrottlingEnabled initial=true
80 webArchiveDebugModeEnabled initial=false, conditional=WEB_ARCHIVE
81 localFileContentSniffingEnabled initial=false
82 offlineWebApplicationCacheEnabled initial=false
83 enforceCSSMIMETypeInNoQuirksMode initial=true
84 usesEncodingDetector initial=false
85 allowScriptsToCloseWindows initial=false
86 canvasUsesAcceleratedDrawing initial=false
87 acceleratedDrawingEnabled initial=false
88 acceleratedFiltersEnabled initial=false
89 useLegacyTextAlignPositionedElementBehavior initial=false
90 javaScriptRuntimeFlags type=JSC::RuntimeFlags
91
92 # FIXME: This should really be disabled by default as it makes platforms that don't support the feature download files
93 # they can't use by. Leaving enabled for now to not change existing behavior.
94 downloadableBinaryFontsEnabled initial=true
95
96 xssAuditorEnabled initial=false
97 unsafePluginPastingEnabled initial=true
98 acceleratedCompositingForFixedPositionEnabled initial=defaultAcceleratedCompositingForFixedPositionEnabled
99 acceleratedCompositingForOverflowScrollEnabled initial=false
100 rubberBandingForSubScrollableRegionsEnabled initial=true, conditional=RUBBER_BANDING
101
102 experimentalNotificationsEnabled initial=false
103 webGLEnabled initial=false
104 webGLErrorsToConsoleEnabled initial=true
105 openGLMultisamplingEnabled initial=true
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=false
126 allowRunningOfInsecureContent initial=false
127 requiresUserGestureForMediaPlayback initial=defaultRequiresUserGestureForMediaPlayback
128 audioPlaybackRequiresUserGesture initial=defaultAudioPlaybackRequiresUserGesture
129 allowsInlineMediaPlayback initial=defaultAllowsInlineMediaPlayback
130 inlineMediaPlaybackRequiresPlaysInlineAttribute initial=defaultInlineMediaPlaybackRequiresPlaysInlineAttribute
131 allowsPictureInPictureMediaPlayback initial=defaultAllowsPictureInPictureMediaPlayback
132 mediaControlsScaleWithPageZoom initial=defaultMediaControlsScaleWithPageZoom
133 invisibleAutoplayNotPermitted initial=false
134 passwordEchoEnabled initial=false
135 suppressesIncrementalRendering initial=false
136 incrementalRenderingSuppressionTimeoutInSeconds type=double, initial=defaultIncrementalRenderingSuppressionTimeoutInSeconds
137 backspaceKeyNavigationEnabled initial=true
138 shouldDisplaySubtitles initial=false, conditional=VIDEO_TRACK
139 shouldDisplayCaptions initial=false, conditional=VIDEO_TRACK
140 shouldDisplayTextDescriptions initial=false, conditional=VIDEO_TRACK
141 scrollingCoordinatorEnabled initial=false
142 scrollingTreeIncludesFrames initial=defaultScrollingTreeIncludesFrames
143 scrollAnimatorEnabled initial=true, conditional=SMOOTH_SCROLLING
144 forceUpdateScrollbarsOnMainThreadForPerformanceTesting initial=false
145 notificationsEnabled initial=true
146
147 # Some apps needs isLoadingInAPISense to account for active subresource loaders.
148 needsIsLoadingInAPISenseQuirk initial=false
149
150 shouldRespectImageOrientation initial=defaultShouldRespectImageOrientation
151 imageSubsamplingEnabled initial=defaultImageSubsamplingEnabled
152 wantsBalancedSetDefersLoadingBehavior initial=false
153 requestAnimationFrameEnabled initial=true
154
155 fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
156 syncXHRInDocumentsEnabled initial=true
157 cookieEnabled initial=true
158 mediaEnabled initial=true
159 DOMPasteAllowed initial=false
160
161 # When enabled, window.blur() does not change focus, and
162 # window.focus() only changes focus when invoked from the context that
163 # created the window.
164 windowFocusRestricted initial=true
165
166 diagnosticLoggingEnabled initial=false
167 delegatesPageScaling initial=false
168 plugInSnapshottingEnabled initial=false
169 snapshotAllPlugIns initial=false
170 autostartOriginPlugInSnapshottingEnabled initial=true
171 primaryPlugInSnapshotDetectionEnabled initial=true
172 maximumPlugInSnapshotAttempts type=unsigned, initial=20
173 frameFlatteningEnabled initial=false
174
175 allowCustomScrollbarInMainFrame initial=true
176 webSecurityEnabled initial=true
177 spatialNavigationEnabled initial=false
178
179 autoscrollForDragAndDropEnabled initial=false
180
181 unifiedTextCheckerEnabled initial=defaultUnifiedTextCheckerEnabled
182
183 logsPageMessagesToSystemConsoleEnabled initial=false
184
185 backForwardCacheExpirationInterval type=double, initial=1800
186
187 # Some apps could have a default video poster if it is not set.
188 defaultVideoPosterURL type=String
189
190 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
191 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
192
193 selectionIncludesAltImageText initial=true
194 useLegacyBackgroundSizeShorthandBehavior initial=false
195 fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
196
197 minimumZoomFontSize type=float, initial=15, conditional=IOS_TEXT_AUTOSIZING
198
199 simpleLineLayoutEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
200 simpleLineLayoutDebugBordersEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
201
202 subpixelCSSOMElementMetricsEnabled initial=false
203
204 useGiantTiles initial=false
205
206 mediaSourceEnabled initial=true, conditional=MEDIA_SOURCE
207
208 # FIXME: Rename to allowMultiElementImplicitFormSubmission once we upstream the iOS changes to WebView.mm.
209 allowMultiElementImplicitSubmission initial=false
210
211 allowsAirPlayForMediaPlayback initial=true, conditional=WIRELESS_PLAYBACK_TARGET
212
213 shouldConvertPositionStyleOnCopy initial=false
214
215 maxParseDuration type=double, initial=-1
216 standalone initial=false
217 telephoneNumberParsingEnabled initial=false
218 mediaDataLoadsAutomatically initial=defaultMediaDataLoadsAutomatically
219 shouldTransformsAffectOverflow initial=true
220 shouldDispatchJavaScriptWindowOnErrorEvents initial=false
221 alwaysUseAcceleratedOverflowScroll initial=false
222 imageControlsEnabled initial=false, conditional=SERVICE_CONTROLS
223
224 enableInheritURIQueryComponent initial=false
225
226 aggressiveTileRetentionEnabled initial=false
227 temporaryTileCohortRetentionEnabled initial=true
228
229 useImageDocumentForSubframePDF initial=false
230
231 # Allow SourceBuffers to store up to 304MB each, enough for approximately five minutes
232 # of 1080p video and stereo audio.
233 maximumSourceBufferSize type=int, initial=318767104, conditional=MEDIA_SOURCE
234
235 serviceControlsEnabled initial=false, conditional=SERVICE_CONTROLS
236
237 appleMailPaginationQuirkEnabled initial=false
238
239 attachmentElementEnabled initial=true, conditional=ATTACHMENT_ELEMENT
240
241 newBlockInsideInlineModelEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
242
243 httpEquivEnabled initial=true
244
245 # Some ports (e.g. iOS) might choose to display attachments inline, regardless of whether the response includes the
246 # HTTP header "Content-Disposition: attachment". This setting enables a sandbox around these attachments. The sandbox
247 # enforces all frame sandbox flags (see enum SandboxFlag in SecurityContext.h), and also disables <meta http-equiv>
248 # processing and subframe loading.
249 contentDispositionAttachmentSandboxEnabled initial=false