WebPreferences.yaml   [plain text]


JavaScriptEnabled:
  type: bool
  defaultValue: true
  webcoreName: scriptEnabled

JavaScriptMarkupEnabled:
  type: bool
  defaultValue: true
  webcoreName: scriptMarkupEnabled

LoadsImagesAutomatically:
  type: bool
  defaultValue: true

LoadsSiteIconsIgnoringImageLoadingPreference:
  type: bool
  defaultValue: false
  webcoreName: loadsSiteIconsIgnoringImageLoadingSetting

PluginsEnabled:
  type: bool
  defaultValue: false

JavaEnabled:
  type: bool
  defaultValue: false

JavaEnabledForLocalFiles:
  type: bool
  defaultValue: false

OfflineWebApplicationCacheEnabled:
  type: bool
  defaultValue: true

LocalStorageEnabled:
  type: bool
  defaultValue: true

DatabasesEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: custom

XSSAuditorEnabled:
  type: bool
  defaultValue: true

PrivateBrowsingEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

TextAreasAreResizable:
  type: bool
  defaultValue: DEFAULT_TEXT_AREAS_ARE_RESIZABLE

JavaScriptCanOpenWindowsAutomatically:
  type: bool
  defaultValue: DEFAULT_JAVASCRIPT_CAN_OPEN_WINDOWS_AUTOMATICALLY

HyperlinkAuditingEnabled:
  type: bool
  defaultValue: true

NeedsSiteSpecificQuirks:
  type: bool
  defaultValue: false

AcceleratedCompositingEnabled:
  type: bool
  defaultValue: true

ForceCompositingMode:
  type: bool
  defaultValue: false
  webcoreBinding: none

CanvasUsesAcceleratedDrawing:
  type: bool
  defaultValue: DEFAULT_CANVAS_USES_ACCELERATED_DRAWING

WebGLEnabled:
  type: bool
  defaultValue: true

ForceSoftwareWebGLRendering:
  type: bool
  defaultValue: false

Accelerated2dCanvasEnabled:
  type: bool
  defaultValue: false

CSSAnimationTriggersEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures
  webcoreName: animationTriggersEnabled
  condition: ENABLE(CSS_ANIMATIONS_LEVEL_2)

ForceFTPDirectoryListings:
  type: bool
  defaultValue: false

TabsToLinks:
  type: bool
  defaultValue: DEFAULT_WEBKIT_TABSTOLINKS_ENABLED
  webcoreBinding: none

DNSPrefetchingEnabled:
  type: bool
  defaultValue: false

DOMTimersThrottlingEnabled:
  type: bool
  defaultValue: true

WebArchiveDebugModeEnabled:
  type: bool
  defaultValue: false
  condition: ENABLE(WEB_ARCHIVE)

LocalFileContentSniffingEnabled:
  type: bool
  defaultValue: false

UsesPageCache:
  type: bool
  defaultValue: true

PageCacheSupportsPlugins:
  type: bool
  defaultValue: true

AuthorAndUserStylesEnabled:
  type: bool
  defaultValue: true

PaginateDuringLayoutEnabled:
  type: bool
  defaultValue: false

DOMPasteAllowed:
  type: bool
  defaultValue: false

JavaScriptCanAccessClipboard:
  type: bool
  defaultValue: false

ShouldPrintBackgrounds:
  type: bool
  defaultValue: DEFAULT_SHOULD_PRINT_BACKGROUNDS

LinkPreconnect:
  type: bool
  defaultValue: DEFAULT_LINK_PRECONNECT_ENABLED
  webcoreName: linkPreconnectEnabled

AsynchronousSpellCheckingEnabled:
  type: bool
  defaultValue: false

WebSecurityEnabled:
  type: bool
  defaultValue: true

AllowUniversalAccessFromFileURLs:
  type: bool
  defaultValue: false

AllowFileAccessFromFileURLs:
  type: bool
  defaultValue: false

AllowSettingAnyXHRHeaderFromFileURLs:
  type: bool
  defaultValue: false

AllowCrossOriginSubresourcesToAskForCredentials:
  type: bool
  defaultValue: false

AVFoundationEnabled:
  type: bool
  defaultValue: DEFAULT_AVFOUNDATION_ENABLED
  getter: isAVFoundationEnabled
  webcoreBinding: DeprecatedGlobalSettings
  condition: USE(AVFOUNDATION)

AVFoundationNSURLSessionEnabled:
  type: bool
  defaultValue: true
  getter: isAVFoundationNSURLSessionEnabled
  webcoreBinding: DeprecatedGlobalSettings
  condition: USE(AVFOUNDATION)

GStreamerEnabled:
  type: bool
  defaultValue: true
  getter: isGStreamerEnabled
  webcoreBinding: DeprecatedGlobalSettings
  condition: USE(GSTREAMER)

RequiresUserGestureForMediaPlayback:
  type: bool
  defaultValue: false
  webcoreBinding: custom

RequiresUserGestureForVideoPlayback:
  type: bool
  defaultValue: false
  webcoreBinding: custom

RequiresUserGestureForAudioPlayback:
  type: bool
  defaultValue: DEFAULT_REQUIRES_USER_GESTURE_FOR_AUDIO_PLAYBACK
  webcoreBinding: custom

RequiresUserGestureToLoadVideo:
  type: bool
  defaultValue: false

MainContentUserGestureOverrideEnabled:
  type: bool
  defaultValue: false

MediaUserGestureInheritsFromDocument:
  type: bool
  defaultValue: false

AllowsInlineMediaPlayback:
  type: bool
  defaultValue: DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK

AllowsInlineMediaPlaybackAfterFullscreen:
  type: bool
  defaultValue: DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK_AFTER_FULLSCREEN

InlineMediaPlaybackRequiresPlaysInlineAttribute:
  type: bool
  defaultValue: DEFAULT_INLINE_MEDIA_PLAYBACK_REQUIRES_PLAYS_INLINE_ATTRIBUTE

InvisibleAutoplayNotPermitted:
  type: bool
  defaultValue: DEFAULT_INVISIBLE_AUTOPLAY_NOT_PERMITTED

MediaDataLoadsAutomatically:
  type: bool
  defaultValue: DEFAULT_MEDIA_DATA_LOADS_AUTOMATICALLY

AllowsPictureInPictureMediaPlayback:
  type: bool
  defaultValue: DEFAULT_ALLOWS_PICTURE_IN_PICTURE_MEDIA_PLAYBACK

AllowsAirPlayForMediaPlayback:
  type: bool
  defaultValue: true
  condition: ENABLE(WIRELESS_PLAYBACK_TARGET)

MediaControlsScaleWithPageZoom:
  type: bool
  defaultValue: DEFAULT_MEDIA_CONTROLS_SCALE_WITH_PAGE_ZOOM

InspectorStartsAttached:
  type: bool
  defaultValue: true
  webcoreBinding: none

ShowsToolTipOverTruncatedText:
  type: bool
  defaultValue: false

MockScrollbarsEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: DeprecatedGlobalSettings

WebAudioEnabled:
  type: bool
  defaultValue: true
  condition: ENABLE(WEB_AUDIO)

AttachmentElementEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(ATTACHMENT_ELEMENT)

SuppressesIncrementalRendering:
  type: bool
  defaultValue: false

BackspaceKeyNavigationEnabled:
  type: bool
  defaultValue: DEFAULT_BACKSPACE_KEY_NAVIGATION_ENABLED

CaretBrowsingEnabled:
  type: bool
  defaultValue: false

ShouldDisplaySubtitles:
  type: bool
  defaultValue: false
  condition: ENABLE(VIDEO_TRACK)

ShouldDisplayCaptions:
  type: bool
  defaultValue: false
  condition: ENABLE(VIDEO_TRACK)

ShouldDisplayTextDescriptions:
  type: bool
  defaultValue: false
  condition: ENABLE(VIDEO_TRACK)

NotificationsEnabled:
  type: bool
  defaultValue: true
  condition: ENABLE(NOTIFICATIONS)

ShouldRespectImageOrientation:
  type: bool
  defaultValue: DEFAULT_SHOULD_RESPECT_IMAGE_ORIENTATION

WantsBalancedSetDefersLoadingBehavior:
  type: bool
  defaultValue: false

RequestAnimationFrameEnabled:
  type: bool
  defaultValue: true

DiagnosticLoggingEnabled:
  type: bool
  defaultValue: false

AsynchronousPluginInitializationEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

AsynchronousPluginInitializationEnabledForAllPlugins:
  type: bool
  defaultValue: false
  webcoreBinding: none

ArtificialPluginInitializationDelayEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

# FIXME: What is this?
TabToLinksEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

ScrollingPerformanceLoggingEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: custom

ScrollAnimatorEnabled:
  type: bool
  defaultValue: DEFAULT_WEBKIT_SCROLL_ANIMATOR_ENABLED
  condition: ENABLE(SMOOTH_SCROLLING)

ForceUpdateScrollbarsOnMainThreadForPerformanceTesting:
  type: bool
  defaultValue: false

CookieEnabled:
  type: bool
  defaultValue: true

PlugInSnapshottingEnabled:
  type: bool
  defaultValue: false

SnapshotAllPlugIns:
  type: bool
  defaultValue: false

AutostartOriginPlugInSnapshottingEnabled:
  type: bool
  defaultValue: true

PrimaryPlugInSnapshotDetectionEnabled:
  type: bool
  defaultValue: true

PDFPluginEnabled:
  type: bool
  defaultValue: DEFAULT_PDFPLUGIN_ENABLED
  webcoreBinding: none
  condition: PLATFORM(COCOA)

UsesEncodingDetector:
  type: bool
  defaultValue: false

TextAutosizingEnabled:
  type: bool
  defaultValue: WebCore::Settings::defaultTextAutosizingEnabled()
  condition: ENABLE(TEXT_AUTOSIZING)

AggressiveTileRetentionEnabled:
  type: bool
  defaultValue: false

TemporaryTileCohortRetentionEnabled:
  type: bool
  defaultValue: DEFAULT_TEMPORARY_TILE_COHORT_RETENTION_ENABLED

PageVisibilityBasedProcessSuppressionEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: none

SmartInsertDeleteEnabled:
  type: bool
  defaultValue: true

SelectTrailingWhitespaceEnabled:
  type: bool
  defaultValue: false

ShowsURLsInToolTipsEnabled:
  type: bool
  defaultValue: false
  webcoreName: showsURLsInToolTips

AcceleratedCompositingForOverflowScrollEnabled:
  type: bool
  defaultValue: false

HiddenPageDOMTimerThrottlingEnabled:
  type: bool
  defaultValue: DEFAULT_HIDDEN_PAGE_DOM_TIMER_THROTTLING_ENABLED

HiddenPageDOMTimerThrottlingAutoIncreases:
  type: bool
  defaultValue: false

HiddenPageCSSAnimationSuspensionEnabled:
  type: bool
  defaultValue: DEFAULT_HIDDEN_PAGE_CSS_ANIMATION_SUSPENSION_ENABLED

LowPowerVideoAudioBufferSizeEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: DeprecatedGlobalSettings

ThreadedScrollingEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: none

SimpleLineLayoutEnabled:
  type: bool
  defaultValue: true

SubpixelCSSOMElementMetricsEnabled:
  type: bool
  defaultValue: false

UseGiantTiles:
  type: bool
  defaultValue: false

MediaDevicesEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(MEDIA_STREAM)

MediaStreamEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(MEDIA_STREAM)

ScreenCaptureEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(MEDIA_STREAM)

PeerConnectionEnabled:
  type: bool
  defaultValue: WebCore::LibWebRTCProvider::webRTCAvailable()
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(WEB_RTC)

UseLegacyTextAlignPositionedElementBehavior:
  type: bool
  defaultValue: false

SpatialNavigationEnabled:
  type: bool
  defaultValue: false

MediaSourceEnabled:
  type: bool
  defaultValue: true
  condition: ENABLE(MEDIA_SOURCE)

ViewGestureDebuggingEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

ShouldConvertPositionStyleOnCopy:
  type: bool
  defaultValue: false

Standalone:
  type: bool
  defaultValue: false

TelephoneNumberParsingEnabled:
  type: bool
  defaultValue: false

AllowMultiElementImplicitSubmission:
  type: bool
  defaultValue: false

AlwaysUseAcceleratedOverflowScroll:
  type: bool
  defaultValue: false

PasswordEchoEnabled:
  type: bool
  defaultValue: DEFAULT_PASSWORD_ECHO_ENABLED

ImageControlsEnabled:
  type: bool
  defaultValue: false
  condition: ENABLE(SERVICE_CONTROLS)

EnableInheritURIQueryComponent:
  type: bool
  defaultValue: false

ServiceControlsEnabled:
  type: bool
  defaultValue: false
  condition: ENABLE(SERVICE_CONTROLS)

DeferredCSSParserEnabled:
  type: bool
  defaultValue: false

HTTPEquivEnabled:
  type: bool
  defaultValue: true
  webcoreName: httpEquivEnabled

MockCaptureDevicesEnabled:
  type: bool
  defaultValue: DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED
  webcoreBinding: DeprecatedGlobalSettings
  condition: ENABLE(MEDIA_STREAM)

MockCaptureDevicesPromptEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: none

MediaCaptureRequiresSecureConnection:
  type: bool
  defaultValue: true
  webcoreBinding: DeprecatedGlobalSettings
  condition: ENABLE(MEDIA_STREAM)

# FIXME: What is this for?
EnumeratingAllNetworkInterfacesEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: none

# FIXME: What is this for?
ICECandidateFilteringEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: none

ShadowDOMEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Shadow DOM"
  humanReadableDescription: "HTML Shadow DOM prototype"
  webcoreBinding: RuntimeEnabledFeatures

FetchAPIEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

DownloadAttributeEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(DOWNLOAD_ATTRIBUTE)

SelectionPaintingWithoutSelectionGapsEnabled:
  type: bool
  defaultValue: false

ApplePayEnabled:
  type: bool
  defaultValue: false
  condition: ENABLE(APPLE_PAY)

ApplePayCapabilityDisclosureAllowed:
  type: bool
  defaultValue: true
  condition: ENABLE(APPLE_PAY)

VisualViewportEnabled:
  type: bool
  defaultValue: true

LayoutViewportHeightExpansionFactor:
  type: double
  defaultValue: DEFAULT_VISUAL_VIEWPORT_HEIGHT_EXPANSION_FACTOR

NeedsStorageAccessFromFileURLsQuirk:
  type: bool
  defaultValue: true

LargeImageAsyncDecodingEnabled:
  type: bool
  defaultValue: true

AnimatedImageAsyncDecodingEnabled:
  type: bool
  defaultValue: true

CustomElementsEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

MenuItemElementEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures

MediaPreloadingEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures

IntersectionObserverEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Intersection Observer"
  humanReadableDescription: "Enable Intersection Observer support"
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(INTERSECTION_OBSERVER)

InteractiveFormValidationEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "HTML Interactive Form Validation"
  humanReadableDescription: "HTML interactive form validation"
  webcoreBinding: RuntimeEnabledFeatures

ShouldSuppressTextInputFromEditingDuringProvisionalNavigation:
  type: bool
  defaultValue: false

GamepadsEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Gamepads"
  humanReadableDescription: "Web Gamepad API support"
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(GAMEPAD)

InputEventsEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Input Events"
  humanReadableDescription: "Enable InputEvents support"
  webcoreBinding: RuntimeEnabledFeatures

WebAuthenticationEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Web Authentication"
  humanReadableDescription: "Enable Web Authentication support"
  webcoreBinding: RuntimeEnabledFeatures

ModernMediaControlsEnabled:
  type: bool
  defaultValue: DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED
  humanReadableName: "Modern Media Controls"
  humanReadableDescription: "Use modern media controls look"
  webcoreBinding: RuntimeEnabledFeatures

ResourceTimingEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Resource Timing"
  humanReadableDescription: "Enable ResourceTiming API"
  webcoreBinding: RuntimeEnabledFeatures

UserTimingEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "User Timing"
  humanReadableDescription: "Enable UserTiming API"
  webcoreBinding: RuntimeEnabledFeatures

BeaconAPIEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Beacon API"
  humanReadableDescription: "Beacon API"

LegacyEncryptedMediaAPIEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Enable Legacy EME API"
  humanReadableDescription: "Enable legacy EME API"
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(LEGACY_ENCRYPTED_MEDIA)

AllowMediaContentTypesRequiringHardwareSupportAsFallback:
  type: bool
  defaultValue: DEFAULT_ALLOW_MEDIA_CONTENT_TYPES_REQUIRING_HARDWARE_SUPPORT_AS_FALLBACK
  humanReadableName: "Allow Media Content Types Requirining Hardware As Fallback"
  humanReadableDescription: "Allow Media Content Types Requirining Hardware As Fallback"

InspectorAdditionsEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Web Inspector Additions"
  humanReadableDescription: "Enable additional page APIs used by the Web Inspector frontend page"
  webcoreBinding: RuntimeEnabledFeatures

DirectoryUploadEnabled:
  type: bool
  defaultValue: DEFAULT_DIRECTORY_UPLOAD_ENABLED
  humanReadableName: "Directory Upload"
  humanReadableDescription: "input.webkitdirectory / dataTransferItem.webkitGetAsEntry()"
  webcoreBinding: RuntimeEnabledFeatures

DataTransferItemsEnabled:
  type: bool
  defaultValue: DEFAULT_DATA_TRANSFER_ITEMS_ENABLED
  humanReadableName: "Data Transfer Items"
  humanReadableDescription: "Enables DataTransferItem in the clipboard API"
  webcoreBinding: RuntimeEnabledFeatures

CustomPasteboardDataEnabled:
  type: bool
  defaultValue: defaultCustomPasteboardDataEnabled()
  humanReadableName: "Custom pasteboard data"
  humanReadableDescription: "Enable custom clipboard types and better security model for clipboard API."
  webcoreBinding: RuntimeEnabledFeatures

ViewportFitEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "Viewport Fit"
  humanReadableDescription: "Enable viewport-fit viewport parameter"

DisplayContentsEnabled:
  type: bool
  defaultValue: true
  humanReadableName: "CSS display: contents"
  humanReadableDescription: "Enable CSS display: contents support"
  webcoreBinding: RuntimeEnabledFeatures

IncrementalRenderingSuppressionTimeout:
  type: double
  defaultValue: 5
  webcoreName: incrementalRenderingSuppressionTimeoutInSeconds

MinimumFontSize:
  type: double
  defaultValue: 0

MinimumLogicalFontSize:
  type: double
  defaultValue: 9

MinimumZoomFontSize:
  type: double
  defaultValue: WebCore::Settings::defaultMinimumZoomFontSize()
  condition: ENABLE(TEXT_AUTOSIZING)

DefaultFontSize:
  type: double
  defaultValue: 16

DefaultFixedFontSize:
  type: double
  defaultValue: 13

LayoutInterval:
  type: double
  defaultValue: -1
  webcoreBinding: custom

MaxParseDuration:
  type: double
  defaultValue: -1

PasswordEchoDuration:
  type: double
  defaultValue: 2
  webcoreName: passwordEchoDurationInSeconds

# FIXME: 
FontSmoothingLevel:
  type: uint32_t
  defaultValue: FontSmoothingLevelMedium
  webcoreBinding: none

LayoutFallbackWidth:
  type: uint32_t
  defaultValue: 980

DeviceWidth:
  type: uint32_t
  defaultValue: 0

DeviceHeight:
  type: uint32_t
  defaultValue: 0

EditableLinkBehavior:
  type: uint32_t
  defaultValue: WebCore::EditableLinkNeverLive
  webcoreBinding: custom

InspectorAttachedHeight:
  type: uint32_t
  defaultValue: 300
  webcoreBinding: none

InspectorAttachedWidth:
  type: uint32_t
  defaultValue: 750
  webcoreBinding: none

InspectorAttachmentSide:
  type: uint32_t
  defaultValue: 0
  webcoreBinding: none

StorageBlockingPolicy:
  type: uint32_t
  defaultValue: WebCore::SecurityOrigin::BlockThirdPartyStorage
  webcoreBinding: custom

JavaScriptRuntimeFlags:
  type: uint32_t
  defaultValue: 0
  webcoreBinding: custom

DataDetectorTypes:
  type: uint32_t
  defaultValue: 0
  webcoreBinding: custom
  condition: ENABLE(DATA_DETECTION)

UserInterfaceDirectionPolicy:
  type: uint32_t
  defaultValue: 0
  webcoreBinding: custom

SystemLayoutDirection:
  type: uint32_t
  defaultValue: 0
  webcoreBinding: custom

FrameFlattening:
  type: uint32_t
  defaultValue: DEFAULT_FRAME_FLATTENING
  webcoreBinding: custom

StandardFontFamily:
  type: String
  defaultValue: DEFAULT_STANDARD_FONT_FAMILY

CursiveFontFamily:
  type: String
  defaultValue: DEFAULT_CURSIVE_FONT_FAMILY

FantasyFontFamily:
  type: String
  defaultValue: DEFAULT_FANTASY_FONT_FAMILY

FixedFontFamily:
  type: String
  defaultValue: DEFAULT_FIXED_FONT_FAMILY

SansSerifFontFamily:
  type: String
  defaultValue: DEFAULT_SANS_SERIF_FONT_FAMILY

SerifFontFamily:
  type: String
  defaultValue: DEFAULT_SERIF_FONT_FAMILY

PictographFontFamily:
  type: String
  defaultValue: DEFAULT_PICTOGRAPH_FONT_FAMILY

DefaultTextEncodingName:
  type: String
  defaultValue: defaultTextEncodingNameForSystemLanguage()

FTPDirectoryTemplatePath:
  type: String
  defaultValue: '""'

MediaContentTypesRequiringHardwareSupport:
  type: String
  defaultValue: WebCore::Settings::defaultMediaContentTypesRequiringHardwareSupport()

InspectorWindowFrame:
  type: String
  defaultValue: '""'
  webcoreBinding: none

InactiveMediaCaptureSteamRepromptIntervalInMinutes:
  type: double
  defaultValue: DEFAULT_INTERACTIVE_MEDIA_CAPTURE_STREAM_REPROMPT_INTERVAL_IN_MINUTES
  webcoreBinding: none

LongRunningMediaCaptureStreamRepromptIntervalInHours:
  type: double
  defaultValue: 24
  webcoreBinding: none

PassiveTouchListenersAsDefaultOnDocument:
  type: bool
  defaultValue: defaultPassiveTouchListenersAsDefaultOnDocument()
  webcoreName: passiveTouchListenersAsDefaultOnDocument

# Debug Preferences

AcceleratedDrawingEnabled:
  type: bool
  defaultValue: DEFAULT_ACCELERATED_DRAWING_ENABLED
  category: debug

SubpixelAntialiasedLayerTextEnabled:
  type: bool
  defaultValue: DEFAULT_SUBPIXEL_ANTIALIASED_LAYER_TEXT_ENABLED
  category: debug

DisplayListDrawingEnabled:
  type: bool
  defaultValue: false
  category: debug

CompositingBordersVisible:
  type: bool
  defaultValue: false
  category: debug
  webcoreName: showDebugBorders

CompositingRepaintCountersVisible:
  type: bool
  defaultValue: false
  category: debug
  webcoreName: showRepaintCounter

TiledScrollingIndicatorVisible:
  type: bool
  defaultValue: false
  category: debug
  webcoreName: showTiledScrollingIndicator

DisableScreenSizeOverride:
  type: bool
  defaultValue: false
  category: debug
  condition: PLATFORM(IOS)

SimpleLineLayoutDebugBordersEnabled:
  type: bool
  defaultValue: false
  category: debug

DeveloperExtrasEnabled:
  type: bool
  defaultValue: false
  category: debug

LogsPageMessagesToSystemConsoleEnabled:
  type: bool
  defaultValue: false
  category: debug

IgnoreViewportScalingConstraints:
  type: bool
  defaultValue: true
  category: debug
  webcoreBinding: none
  condition: PLATFORM(IOS)

ForceAlwaysUserScalable:
  type: bool
  defaultValue: false
  category: debug
  webcoreBinding: none
  condition: PLATFORM(IOS)

ResourceUsageOverlayVisible:
  type: bool
  defaultValue: false
  category: debug
  condition: ENABLE(RESOURCE_USAGE)

VisibleDebugOverlayRegions:
  type: uint32_t
  defaultValue: 0
  category: debug

ShouldEnableTextAutosizingBoost:
  type: bool
  defaultValue: false
  condition: ENABLE(TEXT_AUTOSIZING)

ShouldAllowUserInstalledFonts:
  type: bool
  defaultValue: true

MediaCapabilitiesEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures

SystemPreviewEnabled:
  type: bool
  defaultValue: false
  webcoreBinding: RuntimeEnabledFeatures
  condition: USE(SYSTEM_PREVIEW)

CacheAPIEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

ConstantPropertiesEnabled:
  type: bool
  defaultValue: true

CrossOriginWindowPolicySupportEnabled:
  type: bool
  defaultValue: false

SubresourceIntegrityEnabled:
  type: bool
  defaultValue: true

RestrictedHTTPResponseAccess:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

CrossOriginResourcePolicyEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

DisabledAdaptationsMetaTagEnabled:
  type: bool
  defaultValue: DISABLED_ADAPTATIONS_META_TAG_ENABLED
  webcoreBinding: RuntimeEnabledFeatures

ColorFilterEnabled:
  type: bool
  defaultValue: false

PunchOutWhiteBackgroundsInDarkMode:
  type: bool
  defaultValue: false

IncompleteImageBorderEnabled:
  type: bool
  defaultValue: false

ShouldDeferAsynchronousScriptsUntilAfterDocumentLoad:
  type: bool
  defaultValue: false

StorageAccessAPIEnabled:
  type: bool
  defaultValue: true

StorageAccessPromptsEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

LinkPreloadEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

IsSecureContextAttributeEnabled:
  type: bool
  defaultValue: true
  webcoreBinding: RuntimeEnabledFeatures

# For experimental features:
# The type should be boolean.
# You must provide a humanReadableName and humanReadableName for all experimental features. They
#   are the text exposed to the user from the WebKit client.
# The default value may be either false (for unstable features) or
#   DEFAULT_EXPERIMENTAL_FEATURES_ENABLED (for features that are ready for
#   wider testing).


AsyncFrameScrollingEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Async Frame Scrolling"
  humanReadableDescription: "Perform frame scrolling in a dedicated thread or process"
  category: experimental

SpringTimingFunctionEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "CSS Spring Animations"
  humanReadableDescription: "CSS Spring Animation prototype"
  category: experimental

ImageBitmapOffscreenCanvasEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "ImageBitmap and OffscreenCanvas"
  humanReadableDescription: "Support for the ImageBitmap and OffscreenCanvas APIs"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

WebRTCLegacyAPIEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Enable Legacy WebRTC API"
  humanReadableDescription: "Enable Legacy WebRTC API"
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(WEB_RTC)

MDNSICECandidatesEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Enable MDNS ICE candidates"
  humanReadableDescription: "Enable MDNS ICE candidates"
  webcoreBinding: RuntimeEnabledFeatures
  category: experimental
  condition: ENABLE(WEB_RTC)

FetchAPIKeepAliveEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Fetch API Request KeepAlive"
  humanReadableDescription: "Enable Fetch API Request KeepAlive"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures
  webcoreName: fetchAPIKeepAliveEnabled

ServiceWorkersEnabled:
  type: bool
  defaultValue: DEFAULT_SERVICE_WORKERS_ENABLED
  humanReadableName: "ServiceWorkers"
  humanReadableDescription: "Enable ServiceWorkers"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures
  webcoreName: serviceWorkerEnabled
  condition: ENABLE(SERVICE_WORKER)

VisualViewportAPIEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "VisualViewportAPI"
  humanReadableDescription: "Enable Visual Viewport API"
  category: experimental

WebAnimationsEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "Web Animations"
  humanReadableDescription: "Web Animations prototype"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

WebAnimationsCSSIntegrationEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "Web Animations and CSS Integration"
  humanReadableDescription: "Expose CSS Animations and CSS Transitions through getAnimations()"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

WebGL2Enabled:
  type: bool
  defaultValue: false
  humanReadableName: "WebGL 2.0"
  humanReadableDescription: "WebGL 2 prototype"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(WEBGL2)

WebGPUEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "WebGPU"
  humanReadableDescription: "WebGPU prototype"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures
  condition: ENABLE(WEBGPU)

AccessibilityObjectModelEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Accessibility Object Model"
  humanReadableDescription: "Accessibility Object Model support"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

WebVREnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "WebVR"
  humanReadableDescription: "WebVR Module support"
  webcoreBinding: RuntimeEnabledFeatures
  category: experimental
  condition: PLATFORM(GTK) || PLATFORM(WPE)

ResourceLoadStatisticsDebugMode:
  type: bool
  defaultValue: false
  humanReadableName: "ITP Debug Mode"
  humanReadableDescription: "Intelligent Tracking Prevention Debug Mode"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

WebGLCompressedTextureASTCSupportEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "ASTC Texture Support"
  humanReadableDescription: "Support for ASTC compressed texture formats in WebGL"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures

ServerTimingEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Server Timing"
  humanReadableDescription: "Enable Server Timing API"
  category: experimental
  webcoreBinding: RuntimeEnabledFeatures
  webcoreName: serverTimingEnabled

ExperimentalPlugInSandboxProfilesEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Sandbox Plug-Ins"
  humanReadableDescription: "Enable Plug-In sandboxing"
  category: debug
  webcoreBinding: RuntimeEnabledFeatures
  webcoreName: experimentalPlugInSandboxProfilesEnabled

FullScreenEnabled:
  type: bool
  defaultValue: false
  condition: ENABLE(FULLSCREEN_API)
  hidden: EXPERIMENTAL_FULLSCREEN_API_HIDDEN
  humanReadableName: "Fullscreen API"
  humanReadableDescription: "Fullscreen API"
  category: experimental

EncryptedMediaAPIEnabled:
  type: bool
  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
  humanReadableName: "Modern Encrypted Media API"
  humanReadableDescription: "Modern Encrypted Media API"
  webcoreBinding: RuntimeEnabledFeatures
  category: experimental
  condition: ENABLE(ENCRYPTED_MEDIA)

ProcessSwapOnNavigationEnabled:
  type: bool
  defaultValue: false
  humanReadableName: "Swap Processes on Navigation"
  humanReadableDescription: "Swap WebContent processes on cross-origin navigations"
  category: experimental
  webcoreBinding: none