wiki:ConfigurableFeatures

QtWebkit configurability

Compile-time features defined in JavascriptCore/wtf/Platform.h.

					Qt Linux	Symbian armv5	Symbian winscw
ENABLE_3D_RENDERING			T		T		T
ENABLE_ASSEMBLER			T		T		F
ENABLE_ASSEMBLER_WX_EXCLUSIVE		F		F		F
ENABLE_BRANCH_COMPACTION		F		F		F
ENABLE_CLIENT_BASED_GEOLOCATION		F		F		F
ENABLE_CODEBLOCK_SAMPLING		F		F		F
ENABLE_COMPUTED_GOTO_INTERPRETER	F		F		F
ENABLE_CONTEXT_MENUS			T		T		T
ENABLE_DASHBOARD_SUPPORT		F		F		F
ENABLE_DATABASE				T		T		T
ENABLE_DEBUG_WITH_BREAKPOINT		F		F		F
ENABLE_DRAG_SUPPORT			T		T		T
ENABLE_EXECUTABLE_ALLOCATOR_DEMAND	T		T		F
ENABLE_EXECUTABLE_ALLOCATOR_FIXED	F		F		F
ENABLE_FAST_MALLOC_MATCH_VALIDATION	F		F		F
ENABLE_FTPDIR				T		T		T
ENABLE_GEOLOCATION			F		F		F
ENABLE_GLOBAL_FASTMALLOC_NEW		F		F		F
ENABLE_HISTORY_ALWAYS_ASYNC		F		F		F
ENABLE_ICONDATABASE			T		T		T
ENABLE_INSPECTOR			T		T		T
ENABLE_INTERPRETER			F		F		T
ENABLE_JAVA_BRIDGE			F		F		F
ENABLE_JAVASCRIPT_DEBUGGER		T		T		T
ENABLE_JIT				T		T		F
ENABLE_JIT_OPTIMIZE_CALL		T		T		F
ENABLE_JIT_OPTIMIZE_METHOD_CALLS	T		T		F
ENABLE_JIT_OPTIMIZE_NATIVE_CALL		T		T		F
ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS	T		T		F
ENABLE_JIT_USE_SOFT_MODULO		F		F		F
ENABLE_JSC_MULTIPLE_THREADS		F		F		F
ENABLE_JSC_ZOMBIES			F		F		F
ENABLE_NETSCAPE_PLUGIN_API		T		T		T
ENABLE_NOTIFICATIONS			T		T		T
ENABLE_ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL F		F		F
ENABLE_OPCODE_SAMPLING			F		F		F
ENABLE_OPCODE_STATS			F		F		F
ENABLE_ORIENTATION_EVENTS		F		F		F
ENABLE_PAN_SCROLLING			F		F		F
ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH	T		T		T
ENABLE_REPAINT_THROTTLING		F		F		F
ENABLE_SAMPLING_COUNTERS		F		F		F
ENABLE_SAMPLING_FLAGS			F		F		F
ENABLE_SINGLE_THREADED			F		F		F
ENABLE_TEXT_CARET			T		T		T
ENABLE_YARR				T		T		F
ENABLE_YARR_JIT				T		T		F

Runtime flags that are set through QWebSettings APIs to WebCore page settings. Note that only part of the flags have QtWebKit APIs.

WebCore::Settings			WebCore		QWebSettings API		QtWebKit Default	Overwritten in most
					Default		 				(Overwrite WebCore)	browsers and wrt
 	 	 	 	 
loadsImagesAutomatically		F		AutoLoadImages			T	 
isJavaScriptEnabled			F		JavascriptEnabled		T	 
isWebSecurityEnabled			T	 	 	 
allowUniversalAccessFromFileURLs	T	 	 							F
allowFileAccessFromFileURLs		T	 	 	 
javaScriptCanOpenWindowsAutomatically	F		JavascriptCanOpenWindows	F	 
javaScriptCanAccessClipboard		F		JavascriptCanAccessClipboard	F	 
isSpatialNavigationEnabled		F		SpatialNavigationEnabled	F	 
isJavaEnabled				F		JavaEnabled			F	 
areImagesEnabled			T	 	 	 
isMediaEnabled				T	 	 	 
arePluginsEnabled			F		PluginsEnabled			T	 
localStorageEnabled			F		LocalStorageEnabled		F			T
privateBrowsingEnabled			F		PrivateBrowsingEnabled		F	 
caretBrowsingEnabled			F	 	 	 
usesEncodingDetector			F	 	 	 
dnsPrefetchingEnabled			T		DnsPrefetchEnabled		F			T
shouldPrintBackgrounds			F		PrintElementBackgrounds		T	 
textAreasAreResizable			F	 	 							T
needsAcrobatFrameReloadingQuirk		F	 	 	 
needsKeyboardEventDisambiguationQuirks	F	 	 	 
needsKeyboardEventDisambiguationQuirks	F	 	 	 
needsLeopardMailQuirks			F	 	 	 
needsTigerMailQuirks			F	 	 	 
isDOMPasteAllowed			F	 	 	 
usesPageCache				F	 	 							T
shrinksStandaloneImagesToFit		T	 	 	 
showsURLsInToolTips			F	 	 	 
ftpDirectoryTemplatePath	 	 	 	 
forceFTPDirectoryListings		F	 	 	 
developerExtrasEnabled			F		DeveloperExtrasEnabled		T	 
frameFlatteningEnabled			F		FrameFlatteningEnabled		F	 
authorAndUserStylesEnabled		T	 	 	 
needsSiteSpecificQuirks			F		SiteSpecificQuirksEnabled	T	 
webArchiveDebugModeEnabled		F	 	 	 
localFileContentSniffingEnabled		F	 	 	 
localStorageDatabasePath	 	 	 	 
inApplicationChromeMode			F	 	 	 
offlineWebApplicationCacheEnabled	F		OfflineWebApplicationCacheEnabled F			T
shouldPaintCustomScrollbars		F	 	 	 
enforceCSSMIMETypeInStrictMode		T	 	 	 
allowScriptsToCloseWindows		F	 	 	 
downloadableBinaryFontsEnabled		T	 	 	 
xssAuditorEnabled			F		XSSAuditingEnabled		F	 
acceleratedCompositingEnabled		T		AcceleratedCompositingEnabled	T	 
showDebugBorders			F	 	 	 
showRepaintCounter			F	 	 	 
experimentalNotificationsEnabled	F	 	 	 
pluginAllowedRunTime			4294967295	 	 	 
webGLEnabled				F		WebGLEnabled			F	 
accelerated2dCanvasEnabled		F	 	 	 
loadDeferringEnabled			T	 	 	 
tiledBackingStoreEnabled		F		TiledBackingStoreEnabled	F	 
html5ParserEnabled			T	 	 	 
paginateDuringLayoutEnabled		F	 	 	 
memoryInfoEnabled			F	 	 	 
interactiveFormValidationEnabled	F	 	 	 
editingBehaviorType			1	 	 	 
maximumDecodedImageSize			4294967295	 	 	 
zoomMode				0		ZoomTextOnly			F	 
fontRenderingMode			0	 	 	 
textDirectionSubmenuInclusionBehavior	1	 	 	 
editableLinkBehavior			0	 	 	 
 	 						LinksIncludedInFocusChain	T	 
 	 						OfflineStorageDatabaseEnabled	F	 
 	 						LocalContentCanAccessRemoteUrls	F	 
 	 						LocalContentCanAccessFileUrls	T	 

Private API settings, that could be set through QWebPage dynamic property:

_q_HTMLTokenizerChunkSize
_q_HTMLTokenizerTimeDelay
_q_RepaintThrottlingDeferredRepaintDelay
_q_RepaintThrottlingnInitialDeferredRepaintDelayDuringLoading
_q_RepaintThrottlingMaxDeferredRepaintDelayDuringLoading
_q_RepaintThrottlingDeferredRepaintDelayIncrementDuringLoading
Last modified 7 years ago Last modified on Aug 26, 2010 7:23:39 PM