Diff
Modified: trunk/Source/WebKit/ChangeLog (267193 => 267194)
--- trunk/Source/WebKit/ChangeLog 2020-09-17 15:59:51 UTC (rev 267193)
+++ trunk/Source/WebKit/ChangeLog 2020-09-17 16:17:40 UTC (rev 267194)
@@ -1,3 +1,18 @@
+2020-09-17 Sam Weinig <wei...@apple.com>
+
+ We shouldn't need to specify a category for preferences now that they are split into separate files
+ https://bugs.webkit.org/show_bug.cgi?id=216648
+
+ Reviewed by Tim Horton.
+
+ Remove need / ability to specify a category in the yaml, rather, infer the category
+ from which file it is in.
+
+ * Scripts/GeneratePreferences.rb:
+ * Shared/WebPreferencesDebug.yaml:
+ * Shared/WebPreferencesExperimental.yaml:
+ * Shared/WebPreferencesInternal.yaml:
+
2020-09-17 Antoine Quint <grao...@webkit.org>
Remove the legacy animation code
Modified: trunk/Source/WebKit/Scripts/GeneratePreferences.rb (267193 => 267194)
--- trunk/Source/WebKit/Scripts/GeneratePreferences.rb 2020-09-17 15:59:51 UTC (rev 267193)
+++ trunk/Source/WebKit/Scripts/GeneratePreferences.rb 2020-09-17 16:17:40 UTC (rev 267194)
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
#
-# Copyright (c) 2017 Apple Inc. All rights reserved.
+# Copyright (c) 2017, 2020 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -95,7 +95,6 @@
attr_accessor :defaultValue
attr_accessor :humanReadableName
attr_accessor :humanReadableDescription
- attr_accessor :category
attr_accessor :webcoreBinding
attr_accessor :condition
attr_accessor :hidden
@@ -106,7 +105,6 @@
@defaultValue = opts["defaultValue"]
@humanReadableName = '"' + (opts["humanReadableName"] || "") + '"'
@humanReadableDescription = '"' + (opts["humanReadableDescription"] || "") + '"'
- @category = opts["category"]
@getter = opts["getter"]
@webcoreBinding = opts["webcoreBinding"]
@webcoreName = opts["webcoreName"]
@@ -163,25 +161,38 @@
@outputDirectory = outputDirectory
@preferences = []
+ @preferencesNotDebug = []
+ @preferencesDebug = []
+ @experimentalFeatures = []
+ @internalDebugFeatures = []
+
parsedBasePreferences.each do |name, options|
- @preferences << Preference.new(name, options)
+ preference = Preference.new(name, options)
+ @preferences << preference
+ @preferencesNotDebug << preference
end
parsedDebugPreferences.each do |name, options|
- @preferences << Preference.new(name, options)
+ preference = Preference.new(name, options)
+ @preferences << preference
+ @preferencesDebug << preference
end
parsedExperimentalPreferences.each do |name, options|
- @preferences << Preference.new(name, options)
+ preference = Preference.new(name, options)
+ @preferences << preference
+ @experimentalFeatures << preference
end
parsedInternalPreferences.each do |name, options|
- @preferences << Preference.new(name, options)
+ preference = Preference.new(name, options)
+ @preferences << preference
+ @internalDebugFeatures << preference
end
+
@preferences.sort! { |x, y| x.name <=> y.name }
+ @preferencesNotDebug.sort! { |x, y| x.name <=> y.name }
+ @preferencesDebug.sort! { |x, y| x.name <=> y.name }
+ @experimentalFeatures.sort! { |x, y| x.name <=> y.name }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
+ @internalDebugFeatures.sort! { |x, y| x.name <=> y.name }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
- @preferencesNotDebug = @preferences.select { |p| !p.category }
- @preferencesDebug = @preferences.select { |p| p.category == "debug" }
- @experimentalFeatures = @preferences.select { |p| p.category == "experimental" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
- @internalDebugFeatures = @preferences.select { |p| p.category == "internal" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
-
@preferencesBoundToSetting = @preferences.select { |p| !p.webcoreBinding }
@preferencesBoundToDeprecatedGlobalSettings = @preferences.select { |p| p.webcoreBinding == "DeprecatedGlobalSettings" }
@preferencesBoundToRuntimeEnabledFeatures = @preferences.select { |p| p.webcoreBinding == "RuntimeEnabledFeatures" }
Modified: trunk/Source/WebKit/Shared/WebPreferencesDebug.yaml (267193 => 267194)
--- trunk/Source/WebKit/Shared/WebPreferencesDebug.yaml 2020-09-17 15:59:51 UTC (rev 267193)
+++ trunk/Source/WebKit/Shared/WebPreferencesDebug.yaml 2020-09-17 16:17:40 UTC (rev 267194)
@@ -26,61 +26,50 @@
AcceleratedDrawingEnabled:
type: bool
defaultValue: true
- 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_FAMILY)
SimpleLineLayoutDebugBordersEnabled:
type: bool
defaultValue: false
- category: debug
DeveloperExtrasEnabled:
type: bool
defaultValue: false
- category: debug
LogsPageMessagesToSystemConsoleEnabled:
type: bool
defaultValue: false
- category: debug
ForceAlwaysUserScalable:
type: bool
defaultValue: false
- category: debug
webcoreBinding: none
condition: PLATFORM(IOS_FAMILY)
@@ -87,13 +76,11 @@
ResourceUsageOverlayVisible:
type: bool
defaultValue: false
- category: debug
condition: ENABLE(RESOURCE_USAGE)
VisibleDebugOverlayRegions:
type: uint32_t
defaultValue: 0
- category: debug
IsInAppBrowserPrivacyEnabled:
type: bool
@@ -100,7 +87,6 @@
defaultValue: defaultInAppBrowserPrivacy()
humanReadableName: "In-App Browser Privacy"
humanReadableDescription: "Enable In-App Browser Privacy"
- category: debug
NeedsInAppBrowserPrivacyQuirks:
type: bool
@@ -107,4 +93,3 @@
defaultValue: false
humanReadableName: "Needs In-App Browser Privacy Quirks"
humanReadableDescription: "Enable quirks needed to support In-App Browser privacy"
- category: debug
Modified: trunk/Source/WebKit/Shared/WebPreferencesExperimental.yaml (267193 => 267194)
--- trunk/Source/WebKit/Shared/WebPreferencesExperimental.yaml 2020-09-17 15:59:51 UTC (rev 267193)
+++ trunk/Source/WebKit/Shared/WebPreferencesExperimental.yaml 2020-09-17 16:17:40 UTC (rev 267194)
@@ -23,8 +23,8 @@
# For experimental features:
# The type should be boolean.
-# You must provide a humanReadableName and humanReadableDescription for all experimental features. They
-# are the text exposed to the user from the WebKit client.
+# They must include a humanReadableName and humanReadableDescription. This is
+# 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).
@@ -34,7 +34,6 @@
defaultValue: true
humanReadableName: "Blank anchor target implies rel=noopener"
humanReadableDescription: "target=_blank on anchor elements implies rel=noopener"
- category: experimental
DisallowSyncXHRDuringPageDismissalEnabled:
type: bool
@@ -41,7 +40,6 @@
defaultValue: defaultDisallowSyncXHRDuringPageDismissalEnabled()
humanReadableName: "Disallow sync XHR during page dismissal"
humanReadableDescription: "Disallow synchronous XMLHttpRequest during page dismissal"
- category: experimental
HTTPSUpgradeEnabled:
type: bool
@@ -48,7 +46,6 @@
defaultValue: false
humanReadableName: "Automatic HTTPS upgrade"
humanReadableDescription: "Automatic HTTPS upgrade for known supported sites"
- category: experimental
InProcessCookieCacheEnabled:
type: bool
@@ -55,7 +52,6 @@
defaultValue: true
humanReadableName: "In-Process Cookie Cache"
humanReadableDescription: "In-Process DOM Cookie Cache"
- category: experimental
ThirdPartyIframeRedirectBlockingEnabled:
type: bool
@@ -62,7 +58,6 @@
defaultValue: true
humanReadableName: "Block top-level redirects by third-party iframes"
humanReadableDescription: "Block top-level redirects by third-party iframes"
- category: experimental
GoogleAntiFlickerOptimizationQuirkEnabled:
type: bool
@@ -69,7 +64,6 @@
defaultValue: true
humanReadableName: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization"
humanReadableDescription: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization"
- category: experimental
UserGesturePromisePropagationEnabled:
type: bool
@@ -77,7 +71,6 @@
webcoreBinding: RuntimeEnabledFeatures
humanReadableName: "UserGesture Promise Propagation"
humanReadableDescription: "UserGesture Promise Propagation"
- category: experimental
ModernUnprefixedWebAudioEnabled:
type: bool
@@ -85,7 +78,6 @@
condition: ENABLE(WEB_AUDIO)
humanReadableName: "Modern WebAudio API"
humanReadableDescription: "Modern and unprefixed WebAudio API"
- category: experimental
RequestIdleCallbackEnabled:
type: bool
@@ -92,7 +84,6 @@
defaultValue: false
humanReadableName: "requestIdleCallback"
humanReadableDescription: "Enable requestIdleCallback support"
- category: experimental
MediaRecorderEnabled:
type: bool
@@ -100,7 +91,6 @@
condition: ENABLE(MEDIA_STREAM)
humanReadableName: "MediaRecorder"
humanReadableDescription: "MediaRecorder"
- category: experimental
ScreenCaptureEnabled:
type: bool
@@ -108,7 +98,6 @@
condition: ENABLE(MEDIA_STREAM) && PLATFORM(MAC)
humanReadableName: "ScreenCapture"
humanReadableDescription: "Enable ScreenCapture"
- category: experimental
WebRTCH264LowLatencyEncoderEnabled:
type: bool
@@ -117,7 +106,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC H264 LowLatency encoder"
humanReadableDescription: "Enable H264 LowLatency encoder"
- category: experimental
WebRTCH265CodecEnabled:
type: bool
@@ -126,7 +114,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC H265 codec"
humanReadableDescription: "Enable WebRTC H265 codec"
- category: experimental
WebRTCVP9CodecEnabled:
type: bool
@@ -135,7 +122,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC VP9 codec"
humanReadableDescription: "Enable WebRTC VP9 codec"
- category: experimental
WebRTCPlatformCodecsInGPUProcessEnabled:
type: bool
@@ -144,7 +130,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC Platform Codecs in GPU Process"
humanReadableDescription: "Enable WebRTC Platform Codecs in GPU Process"
- category: experimental
ExposeSpeakersEnabled:
type: bool
@@ -151,7 +136,6 @@
defaultValue: false
humanReadableName: "Allow speaker device selection"
humanReadableDescription: "Allow speaker device selection"
- category: experimental
condition: ENABLE(WEB_RTC)
VP9DecoderEnabled:
@@ -160,7 +144,6 @@
webcoreBinding: none
humanReadableName: "VP9 decoder"
humanReadableDescription: "Enable VP9 decoder"
- category: experimental
condition: ENABLE(VP9)
VP9SWDecoderEnabledOnBattery:
@@ -169,7 +152,6 @@
webcoreBinding: none
humanReadableName: "VP9 SW decoder on battery"
humanReadableDescription: "Enable VP9 SW decoder on battery"
- category: experimental
condition: ENABLE(VP9)
WebMParserEnabled:
@@ -178,7 +160,6 @@
webcoreBinding: RuntimeEnabledFeatures
humanReadableName: "WebM MSE parser"
humanReadableDescription: "Enable WebM MSE parser"
- category: experimental
condition: ENABLE(MEDIA_SOURCE) && ENABLE(VP9)
HighlightAPIEnabled:
@@ -187,7 +168,6 @@
humanReadableName: "Highlight API"
humanReadableDescription: "Highlight API support"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
WebAuthenticationEnabled:
type: bool
@@ -194,7 +174,6 @@
defaultValue: false
humanReadableName: "Web Authentication"
humanReadableDescription: "Enable Web Authentication support"
- category: experimental
condition: ENABLE(WEB_AUTHN)
WebAuthenticationLocalAuthenticatorEnabled:
@@ -202,7 +181,6 @@
defaultValue: false
humanReadableName: "Web Authentication Local Authenticator"
humanReadableDescription: "Enable Web Authentication local authenticator support"
- category: experimental
condition: ENABLE(WEB_AUTHN)
PaintTimingEnabled:
@@ -211,7 +189,6 @@
humanReadableName: "Paint Timing"
humanReadableDescription: "Enable PaintTiming API"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
AsyncClipboardAPIEnabled:
type: bool
@@ -218,7 +195,6 @@
defaultValue: DEFAULT_ASYNC_CLIPBOARD_API_ENABLED
humanReadableName: "Async clipboard API"
humanReadableDescription: "Enable the async clipboard API"
- category: experimental
ShouldDeferAsynchronousScriptsUntilAfterDocumentLoadOrFirstPaint:
type: bool
@@ -225,7 +201,6 @@
defaultValue: true
humanReadableName: "Defer async scripts until DOMContentLoaded or first-paint"
humanReadableDescription: "Defer async scripts until DOMContentLoaded or first-paint"
- category: experimental
SpringTimingFunctionEnabled:
type: bool
@@ -232,7 +207,6 @@
defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
humanReadableName: "CSS Spring Animations"
humanReadableDescription: "CSS Spring Animation prototype"
- category: experimental
ImageBitmapEnabled:
type: bool
@@ -239,7 +213,6 @@
defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
humanReadableName: "ImageBitmap"
humanReadableDescription: "Support for the ImageBitmap APIs"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
HTTP3Enabled:
@@ -247,7 +220,6 @@
defaultValue: false
humanReadableName: "HTTP/3"
humanReadableDescription: "Enable HTTP/3"
- category: experimental
webcoreBinding: none
condition: HAVE(CFNETWORK_ALTERNATIVE_SERVICE)
@@ -256,7 +228,6 @@
defaultValue: true
humanReadableName: "Intersection Observer"
humanReadableDescription: "Enable Intersection Observer support"
- category: experimental
condition: ENABLE(INTERSECTION_OBSERVER)
VisualViewportAPIEnabled:
@@ -264,7 +235,6 @@
defaultValue: true
humanReadableName: "Visual Viewport API"
humanReadableDescription: "Enable Visual Viewport API"
- category: experimental
SyntheticEditingCommandsEnabled:
type: bool
@@ -271,7 +241,6 @@
defaultValue: true
humanReadableName: "Synthetic Editing Commands"
humanReadableDescription: "Enable Synthetic Editing Commands"
- category: experimental
CSSOMViewSmoothScrollingEnabled:
type: bool
@@ -278,7 +247,6 @@
defaultValue: false
humanReadableName: "CSSOM View Smooth Scrolling"
humanReadableDescription: "Enable DOM API and CSS property for 'smooth' scroll behavior"
- category: experimental
WebAnimationsCompositeOperationsEnabled:
type: bool
@@ -285,7 +253,6 @@
defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
humanReadableName: "Web Animations composite operations"
humanReadableDescription: "Support for the CompositeOperation enum and properties consuming it"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
WebAnimationsMutableTimelinesEnabled:
@@ -293,7 +260,6 @@
defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
humanReadableName: "Web Animations mutable timelines"
humanReadableDescription: "Support for setting the timeline property of an Animation object"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
WebGL2Enabled:
@@ -301,7 +267,6 @@
defaultValue: true
humanReadableName: "WebGL 2.0"
humanReadableDescription: "WebGL 2 prototype"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(WEBGL2)
@@ -310,7 +275,6 @@
defaultValue: defaultWebGPUEnabled()
humanReadableName: "WebGPU"
humanReadableDescription: "WebGPU Sketch prototype"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(WEBGPU)
@@ -319,7 +283,6 @@
defaultValue: true
humanReadableName: "Mask WebGL Strings"
humanReadableDescription: "Mask WebGL Vendor, Renderer, Shader Language Strings"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(WEBGL) || ENABLE(WEBGL2)
@@ -328,7 +291,6 @@
defaultValue: false
humanReadableName: "Accessibility Object Model"
humanReadableDescription: "Accessibility Object Model support"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
ServerTimingEnabled:
@@ -336,7 +298,6 @@
defaultValue: DEFAULT_SERVER_TIMING_ENABLED
humanReadableName: "Server Timing"
humanReadableDescription: "Enable Server Timing API"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
webcoreName: serverTimingEnabled
@@ -345,7 +306,6 @@
defaultValue: false
humanReadableName: "CSS Custom Properties and Values API"
humanReadableDescription: "Enable CSS Custom Properties and Values API"
- category: experimental
CSSPaintingAPIEnabled:
type: bool
@@ -353,7 +313,6 @@
humanReadableName: "CSS Painting API"
humanReadableDescription: "Enable the CSS Painting API"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
condition: ENABLE(CSS_PAINTING_API)
CSSTypedOMEnabled:
@@ -362,7 +321,6 @@
humanReadableName: "CSS Typed OM"
humanReadableDescription: "Enable the CSS Typed OM"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
condition: ENABLE(CSS_TYPED_OM)
WebSQLDisabled:
@@ -371,7 +329,6 @@
humanReadableName: "Disable Web SQL"
humanReadableDescription: "Disable Web SQL"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
ProcessSwapOnCrossSiteNavigationEnabled:
type: bool
@@ -378,7 +335,6 @@
defaultValue: DEFAULT_PROCESS_SWAP_ON_CROSS_SITE_NAVIGATION_ENABLED
humanReadableName: "Swap Processes on Cross-Site Navigation"
humanReadableDescription: "Swap WebContent Processes on cross-site navigations"
- category: experimental
webcoreBinding: none
MediaCapabilitiesExtensionsEnabled:
@@ -386,7 +342,6 @@
defaultValue: true
humanReadableName: "Media Capabilities Extensions"
humanReadableDescription: "Media Capabilities Extensions"
- category: experimental
HDRMediaCapabilitiesEnabled:
type: bool
@@ -393,7 +348,6 @@
defaultValue: true
humanReadableName: "HDR Media Capabilities"
humanReadableDescription: "HDR Media Capabilities"
- category: experimental
ResizeObserverEnabled:
type: bool
@@ -400,7 +354,6 @@
defaultValue: true
humanReadableName: "Resize Observer"
humanReadableDescription: "Enable Resize Observer support"
- category: experimental
condition: ENABLE(RESIZE_OBSERVER)
AdClickAttributionEnabled:
@@ -408,7 +361,6 @@
defaultValue: false
humanReadableName: "Ad Click Attribution"
humanReadableDescription: "Enable Ad Click Attribution for Cross-Site Link Navigations"
- category: experimental
AdClickAttributionDebugModeEnabled:
type: bool
@@ -416,7 +368,6 @@
humanReadableName: "Ad Click Attribution Debug Mode"
humanReadableDescription: "Enable Ad Click Attribution Debug Mode"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
FetchAPIKeepAliveEnabled:
type: bool
@@ -423,7 +374,6 @@
defaultValue: true
humanReadableName: "Fetch API Request KeepAlive"
humanReadableDescription: "Enable Fetch API Request KeepAlive"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
webcoreName: fetchAPIKeepAliveEnabled
@@ -433,7 +383,6 @@
condition: ENABLE(VIDEO)
humanReadableName: "Generic Text Track Cue API"
humanReadableDescription: "Enable Generic Text Track Cue API"
- category: experimental
webcoreName: genericCueAPIEnabled
CaptureVideoInUIProcessEnabled:
@@ -441,7 +390,6 @@
defaultValue: false
humanReadableName: "Capture video in UI Process"
humanReadableDescription: "Enable video capture in UI Process"
- category: experimental
webcoreBinding: none
condition: ENABLE(MEDIA_STREAM)
@@ -450,7 +398,6 @@
defaultValue: true
humanReadableName: "Aspect ratio of <img> from width and height"
humanReadableDescription: "Map HTML attributes width/height to the default aspect ratio of <img>"
- category: experimental
ReadableByteStreamAPIEnabled:
type: bool
@@ -457,7 +404,6 @@
defaultValue: false
humanReadableName: "ReadableByteStream"
humanReadableDescription: "Enable Readable Byte Streams"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
ReferrerPolicyAttributeEnabled:
@@ -465,7 +411,6 @@
defaultValue: true
humanReadableName: "Referrer Policy attribute"
humanReadableDescription: "Enable Referrer Policy attribute"
- category: experimental
PageAtRuleSupportEnabled:
type: bool
@@ -472,7 +417,6 @@
defaultValue: false
humanReadableName: "@page CSS at-rule support"
humanReadableDescription: "Enable @page support"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
CoreMathMLEnabled:
@@ -480,7 +424,6 @@
defaultValue: DEFAULT_CORE_MATHML_ENABLED
humanReadableName: "MathML Core"
humanReadableDescription: "Disable features removed from the MathML Core spec."
- category: experimental
LinkPrefetchEnabled:
type: bool
@@ -487,7 +430,6 @@
defaultValue: false
humanReadableName: "LinkPrefetch"
humanReadableDescription: "Enable LinkedPrefetch"
- category: experimental
LinkPreloadResponsiveImagesEnabled:
type: bool
@@ -494,7 +436,6 @@
defaultValue: false
humanReadableName: "Link preload responsive images"
humanReadableDescription: "Enable link preload responsive images"
- category: experimental
IsNSURLSessionWebSocketEnabled:
type: bool
@@ -501,7 +442,6 @@
defaultValue: false
humanReadableName: "NSURLSession WebSocket"
humanReadableDescription: "Use NSURLSession WebSocket API"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
condition: HAVE(NSURLSESSION_WEBSOCKET)
@@ -510,7 +450,6 @@
defaultValue: false
humanReadableName: "Lazy image loading"
humanReadableDescription: "Enable lazy image loading support"
- category: experimental
LazyIframeLoadingEnabled:
type: bool
@@ -517,7 +456,6 @@
defaultValue: false
humanReadableName: "Lazy iframe loading"
humanReadableDescription: "Enable lazy iframe loading support"
- category: experimental
IsThirdPartyCookieBlockingDisabled:
type: bool
@@ -524,7 +462,6 @@
defaultValue: false
humanReadableName: "Disable Full 3rd-Party Cookie Blocking (ITP)"
humanReadableDescription: "Disable full third-party cookie blocking when Intelligent Tracking Prevention is enabled"
- category: experimental
IsFirstPartyWebsiteDataRemovalDisabled:
type: bool
@@ -531,7 +468,6 @@
defaultValue: false
humanReadableName: "Disable Removal of Non-Cookie Data After 7 Days of No User Interaction (ITP)"
humanReadableDescription: "Disable removal of all non-cookie website data after seven days of no user interaction when Intelligent Tracking Prevention is enabled"
- category: experimental
IsSameSiteStrictEnforcementEnabled:
type: bool
@@ -538,7 +474,6 @@
defaultValue: false
humanReadableName: "SameSite strict enforcement (ITP)"
humanReadableDescription: "Enable SameSite strict enforcement to mitigate bounce tracking"
- category: experimental
IsLoggedInAPIEnabled:
type: bool
@@ -545,7 +480,6 @@
defaultValue: false
humanReadableName: "IsLoggedIn web API"
humanReadableDescription: "Enable the proposed IsLoggedIn web API"
- category: experimental
RemotePlaybackEnabled:
condition: ENABLE(WIRELESS_PLAYBACK_TARGET)
@@ -553,7 +487,6 @@
defaultValue: true
humanReadableName: "Remote Playback API"
humanReadableDescription: "Enable Remote Playback API"
- category: experimental
DialogElementEnabled:
type: bool
@@ -561,7 +494,6 @@
humanReadableName: "Dialog Element"
humanReadableDescription: "Enable the Dialog Element"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
IsAccessibilityIsolatedTreeEnabled:
type: bool
@@ -569,7 +501,6 @@
humanReadableName: "Isolated Accessibility Tree Mode"
humanReadableDescription: "Enable an accessibility hierarchy for VoiceOver that can be accessed on a secondary thread for improved performance"
webcoreBinding: RuntimeEnabledFeatures
- category: experimental
condition: ENABLE(ACCESSIBILITY_ISOLATED_TREE)
WebShareFileAPIEnabled:
@@ -577,7 +508,6 @@
defaultValue: false
humanReadableName: "Web Share API Level 2"
humanReadableDescription: "Enable level 2 of Web Share API"
- category: experimental
IncrementalPDFLoadingEnabled:
type: bool
@@ -584,7 +514,6 @@
defaultValue: defaultIncrementalPDFEnabled()
humanReadableName: "Incremental PDF Loading"
humanReadableDescription: "Enable Incremental PDF Loading on supported platforms"
- category: experimental
condition: HAVE(INCREMENTAL_PDF_APIS)
webcoreBinding: RuntimeEnabledFeatures
@@ -593,7 +522,6 @@
defaultValue: defaultWebXREnabled()
humanReadableName: "WebXR Device API"
humanReadableDescription: "Adds support for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays, on the Web"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(WEBXR)
@@ -602,7 +530,6 @@
defaultValue: true
humanReadableName: "WritableStream API"
humanReadableDescription: "Enable Writable Stream API"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
TransformStreamAPIEnabled:
@@ -610,7 +537,6 @@
defaultValue: true
humanReadableName: "TransformStream API"
humanReadableDescription: "Enable Transform Stream API"
- category: experimental
webcoreBinding: RuntimeEnabledFeatures
CoreImageAcceleratedFilterRenderEnabled:
@@ -618,7 +544,6 @@
defaultValue: false
humanReadableName: "CoreImage-Accelerated Filter Rendering"
humanReadableDescription: "Accelerated CSS and SVG filter rendering using CoreImage"
- category: experimental
condition: ENABLE(CORE_IMAGE_ACCELERATED_FILTER_RENDER)
DisableMediaExperiencePIDInheritance:
@@ -627,5 +552,4 @@
webcoreBinding: RuntimeEnabledFeatures
humanReadableName: "Disable Media Experience PID Inheritance"
humanReadableDescription: "Disable Media Experience PID Inheritance"
- category: experimental
condition: HAVE(CELESTIAL)
Modified: trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml (267193 => 267194)
--- trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml 2020-09-17 15:59:51 UTC (rev 267193)
+++ trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml 2020-09-17 16:17:40 UTC (rev 267194)
@@ -23,8 +23,8 @@
# For internal features:
# The type should be boolean.
-# You must provide a humanReadableName and humanReadableDescription for all debug features. They
-# are the text exposed to the user from the WebKit client.
+# They must include a humanReadableName and humanReadableDescription. This is
+# the text exposed to the user from the WebKit client.
PrefixedWebAudioEnabled:
type: bool
@@ -32,7 +32,6 @@
condition: ENABLE(WEB_AUDIO)
humanReadableName: "Prefixed WebAudio API"
humanReadableDescription: "Prefixed WebAudio API"
- category: internal
SimpleLineLayoutEnabled:
type: bool
@@ -39,7 +38,6 @@
defaultValue: true
humanReadableName: "Simple line layout"
humanReadableDescription: "Enable simple line layout path (SLL)"
- category: internal
WebRTCDTMFEnabled:
type: bool
@@ -48,7 +46,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC DTMF"
humanReadableDescription: "Enable WebRTC DTMF"
- category: internal
WebRTCH264SimulcastEnabled:
type: bool
@@ -57,7 +54,6 @@
condition: ENABLE(WEB_RTC)
humanReadableName: "WebRTC H264 Simulcast"
humanReadableDescription: "Enable WebRTC H264 Simulcast"
- category: internal
WebRTCMDNSICECandidatesEnabled:
type: bool
@@ -65,7 +61,6 @@
humanReadableName: "WebRTC mDNS ICE candidates"
humanReadableDescription: "Enable WebRTC mDNS ICE candidates"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
condition: ENABLE(WEB_RTC)
FrameFlatteningEnabled:
@@ -74,7 +69,6 @@
webcoreBinding: custom
humanReadableName: "Frame flattening"
humanReadableDescription: "Enable frame flattening, which adjusts the height of an iframe to fit its contents"
- category: internal
KeygenElementEnabled:
type: bool
@@ -82,7 +76,6 @@
webcoreBinding: RuntimeEnabledFeatures
humanReadableName: "HTMLKeygenElement"
humanReadableDescription: "Enables the deprecated and disabled-by-default HTML keygen element."
- category: internal
OffscreenCanvasEnabled:
type: bool
@@ -89,7 +82,6 @@
defaultValue: DEFAULT_OFFSCREEN_CANVAS_ENABLED
humanReadableName: "OffscreenCanvas"
humanReadableDescription: "Support for the OffscreenCanvas APIs"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(OFFSCREEN_CANVAS)
@@ -98,7 +90,6 @@
defaultValue: defaultCSSOMViewScrollingAPIEnabled()
humanReadableName: "CSSOM View Scrolling API"
humanReadableDescription: "Implement standard behavior for scrollLeft, scrollTop, scrollWidth, scrollHeight, scrollTo, scrollBy and scrollingElement."
- category: internal
BlockingOfSmallPluginsEnabled:
type: bool
@@ -105,7 +96,6 @@
defaultValue: true
humanReadableName: "Block small plugins"
humanReadableDescription: "Stop plugins smaller than a certain threshold from loading."
- category: internal
CaptureVideoInGPUProcessEnabled:
type: bool
@@ -112,7 +102,6 @@
defaultValue: defaultCaptureVideoInGPUProcessEnabled()
humanReadableName: "Capture video in GPU Process"
humanReadableDescription: "Enable video capture in GPU Process"
- category: internal
webcoreBinding: none
condition: ENABLE(MEDIA_STREAM)
@@ -121,7 +110,6 @@
defaultValue: false
humanReadableName: "Sandbox Plug-Ins"
humanReadableDescription: "Enable Plug-In sandboxing"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
webcoreName: experimentalPlugInSandboxProfilesEnabled
@@ -131,7 +119,6 @@
humanReadableName: "ITP Database Backend"
humanReadableDescription: "Enable Intelligent Tracking Prevention Database Backend"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
ServiceWorkersEnabled:
type: bool
@@ -138,7 +125,6 @@
defaultValue: DEFAULT_SERVICE_WORKERS_ENABLED
humanReadableName: "Service Workers"
humanReadableDescription: "Enable Service Workers"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
webcoreName: serviceWorkerEnabled
condition: ENABLE(SERVICE_WORKER)
@@ -148,7 +134,6 @@
defaultValue: defaultAsyncFrameScrollingEnabled()
humanReadableName: "Async Frame Scrolling"
humanReadableDescription: "Perform frame scrolling off the main thread"
- category: internal
AsyncOverflowScrollingEnabled:
type: bool
@@ -155,7 +140,6 @@
defaultValue: defaultAsyncOverflowScrollingEnabled()
humanReadableName: "Async Overflow Scrolling"
humanReadableDescription: "Perform overflow scrolling off the main thread"
- category: internal
LegacyOverflowScrollingTouchEnabled:
type: bool
@@ -163,7 +147,6 @@
humanReadableName: "Legacy -webkit-overflow-scrolling property"
humanReadableDescription: "Support the legacy -webkit-overflow-scrolling CSS property"
condition: ENABLE(OVERFLOW_SCROLLING_TOUCH)
- category: internal
FullScreenEnabled:
type: bool
@@ -172,7 +155,6 @@
hidden: EXPERIMENTAL_FULLSCREEN_API_HIDDEN
humanReadableName: "Fullscreen API"
humanReadableDescription: "Fullscreen API"
- category: internal
AriaReflectionEnabled:
type: bool
@@ -179,7 +161,6 @@
defaultValue: true
humanReadableName: "ARIA Reflection"
humanReadableDescription: "ARIA Reflection support"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
WebAPIStatisticsEnabled:
@@ -188,7 +169,6 @@
humanReadableName: "Web API Statistics"
humanReadableDescription: "Enable Web API Statistics"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
SecureContextChecksEnabled:
type: bool
@@ -196,7 +176,6 @@
humanReadableName: "Secure Context Checks"
humanReadableDescription: "Allow access to HTTPS-only Web APIs over HTTP"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
SelectionAcrossShadowBoundariesEnabled:
type: bool
@@ -203,7 +182,6 @@
defaultValue: true
humanReadableName: "Selection across shadow DOM"
humanReadableDescription: "Allow user-initiated selection across shadow DOM boundaries"
- category: internal
webcoreName: selectionAcrossShadowBoundariesEnabled
FasterClicksEnabled:
@@ -213,7 +191,6 @@
humanReadableName: "Fast clicks"
humanReadableDescription: "Support faster clicks on zoomable pages"
webcoreBinding: none
- category: internal
PreferFasterClickOverDoubleTap:
type: bool
@@ -222,7 +199,6 @@
humanReadableName: "Fast clicks beat DTTZ"
humanReadableDescription: "Prefer a faster click over a double tap"
webcoreBinding: none
- category: internal
ZoomOnDoubleTapWhenRoot:
type: bool
@@ -231,7 +207,6 @@
humanReadableName: "DTTZ also when root"
humanReadableDescription: "Double taps zoom, even if we dispatched a click on the root nodes"
webcoreBinding: none
- category: internal
AlwaysZoomOnDoubleTap:
type: bool
@@ -240,7 +215,6 @@
humanReadableName: "DTTZ always"
humanReadableDescription: "Double taps zoom, even if we dispatched a click anywhere"
webcoreBinding: none
- category: internal
InputTypeColorEnabled:
type: bool
@@ -247,7 +221,6 @@
defaultValue: DEFAULT_INPUT_TYPE_COLOR_ENABLED
humanReadableName: "Color Inputs"
humanReadableDescription: "Enable input elements of type color"
- category: internal
condition: ENABLE(INPUT_TYPE_COLOR)
InputTypeDateEnabled:
@@ -255,7 +228,6 @@
defaultValue: DEFAULT_INPUT_TYPE_DATE_ENABLED
humanReadableName: "Date Input"
humanReadableDescription: "Enable input elements of type date"
- category: internal
condition: ENABLE(INPUT_TYPE_DATE)
InputTypeDateTimeLocalEnabled:
@@ -263,7 +235,6 @@
defaultValue: DEFAULT_INPUT_TYPE_DATETIMELOCAL_ENABLED
humanReadableName: "datetime-local Inputs"
humanReadableDescription: "Enable input elements of type datetime-local"
- category: internal
condition: ENABLE(INPUT_TYPE_DATETIMELOCAL)
InputTypeMonthEnabled:
@@ -271,7 +242,6 @@
defaultValue: DEFAULT_INPUT_TYPE_MONTH_ENABLED
humanReadableName: "Month Input"
humanReadableDescription: "Enable input elements of type month"
- category: internal
condition: ENABLE(INPUT_TYPE_MONTH)
InputTypeTimeEnabled:
@@ -279,7 +249,6 @@
defaultValue: DEFAULT_INPUT_TYPE_TIME_ENABLED
humanReadableName: "Time Input"
humanReadableDescription: "Enable input elements of type time"
- category: internal
condition: ENABLE(INPUT_TYPE_TIME)
InputTypeWeekEnabled:
@@ -287,7 +256,6 @@
defaultValue: DEFAULT_INPUT_TYPE_WEEK_ENABLED
humanReadableName: "Week Input"
humanReadableDescription: "Enable input elements of type week"
- category: internal
condition: ENABLE(INPUT_TYPE_WEEK)
DateTimeInputsEditableComponentsEnabled:
@@ -295,7 +263,6 @@
defaultValue: DEFAULT_DATE_TIME_INPUTS_EDITABLE_COMPONENTS_ENABLED
humanReadableName: "Date/Time inputs have editable components"
humanReadableDescription: "Enable multiple editable components in date/time inputs"
- category: internal
webcoreName: dateTimeInputsEditableComponentsEnabled
condition: ENABLE(DATE_AND_TIME_INPUT_TYPES)
@@ -304,7 +271,6 @@
defaultValue: DEFAULT_DATALIST_ELEMENT_ENABLED
humanReadableName: "DataList Element"
humanReadableDescription: "Enable datalist elements"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(DATALIST_ELEMENT)
@@ -313,7 +279,6 @@
defaultValue: false
humanReadableName: "Full next-generation layout (LFC)"
humanReadableDescription: "Enable full next-generation layout (LFC)"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(LAYOUT_FORMATTING_CONTEXT)
@@ -322,7 +287,6 @@
defaultValue: true
humanReadableName: "Next-generation line layout integration (LFC)"
humanReadableDescription: "Enable next-generation line layout integration (LFC)"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
condition: ENABLE(LAYOUT_FORMATTING_CONTEXT)
@@ -331,7 +295,6 @@
defaultValue: defaultCaptureAudioInUIProcessEnabled()
humanReadableName: "Capture audio in UI Process"
humanReadableDescription: "Enable audio capture in UI Process"
- category: internal
webcoreBinding: none
condition: ENABLE(MEDIA_STREAM)
@@ -340,7 +303,6 @@
defaultValue: defaultCaptureAudioInGPUProcessEnabled()
humanReadableName: "Capture audio in GPU Process"
humanReadableDescription: "Enable audio capture in GPU Process"
- category: internal
webcoreBinding: none
condition: ENABLE(MEDIA_STREAM)
@@ -349,7 +311,6 @@
defaultValue: defaultRenderCanvasInGPUProcessEnabled()
humanReadableName: "Render canvas in GPU Process"
humanReadableDescription: "Enable canvas rendering in GPU Process"
- category: internal
webcoreBinding: none
RestrictedHTTPResponseAccess:
@@ -357,7 +318,6 @@
defaultValue: true
humanReadableName: "Filter HTTP Response for Web Processes"
humanReadableDescription: "Enable HTTP Response filtering for Web Processes"
- category: internal
webcoreBinding: RuntimeEnabledFeatures
UndoManagerAPIEnabled:
@@ -365,7 +325,6 @@
defaultValue: false
humanReadableName: "UndoManager DOM API"
humanReadableDescription: "Enable the UndoManager DOM API"
- category: internal
CSSLogicalEnabled:
type: bool
@@ -373,7 +332,6 @@
humanReadableName: "CSS Logical Properties and Values"
humanReadableDescription: "Enable CSS Logical Properties and Values"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
LineHeightUnitsEnabled:
type: bool
@@ -381,7 +339,6 @@
humanReadableName: "lh / rlh units"
humanReadableDescription: "Enable the lh and lhr units"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
DOMPasteAccessRequestsEnabled:
type: bool
@@ -388,7 +345,6 @@
defaultValue: DEFAULT_DOM_PASTE_ACCESS_REQUESTS_ENABLED
humanReadableName: "DOM Paste Access Requests"
humanReadableDescription: "Enable DOM Paste Access Requests"
- category: internal
MouseEventsSimulationEnabled:
type: bool
@@ -396,7 +352,6 @@
humanReadableName: "Mouse events simulation"
humanReadableDescription: "Enable mouse events dispatch along with touch events on iOS"
webcoreBinding: RuntimeEnabledFeatures
- category: internal
condition: ENABLE(TOUCH_EVENTS)
TextAutosizingUsesIdempotentMode:
@@ -404,7 +359,6 @@
defaultValue: defaultTextAutosizingUsesIdempotentMode()
humanReadableName: "Idempotent Text Autosizing"
humanReadableDescription: "Use idempotent text autosizing mode"
- category: internal
condition: ENABLE(TEXT_AUTOSIZING)
AllowViewportShrinkToFitContent:
@@ -412,7 +366,6 @@
defaultValue: true
humanReadableName: "Allow Viewport Shrink to Fit Content"
humanReadableDescription: "Allow the viewport shrink to fit content heuristic when appropriate"
- category: internal
condition: PLATFORM(IOS_FAMILY)
EnterKeyHintEnabled:
@@ -420,10 +373,8 @@
defaultValue: DEFAULT_ENTER_KEY_HINT_ENABLED
humanReadableName: "Enter Key Hint"
humanReadableDescription: "Enable the enterKeyHint HTML attribute"
- category: internal
ApplePayRemoteUIEnabled:
- category: internal
condition: ENABLE(APPLE_PAY_REMOTE_UI)
defaultValue: true
humanReadableDescription: "Enable Apple Pay Remote UI"
@@ -435,7 +386,6 @@
defaultValue: false
humanReadableName: "[ITP Live-On] 1 Hour Timeout For Non-Cookie Data Removal"
humanReadableDescription: "Remove all non-cookie website data after just one hour of no user interaction when Intelligent Tracking Prevention is enabled"
- category: internal
IsFirstPartyWebsiteDataRemovalReproTestingEnabled:
type: bool
@@ -442,7 +392,6 @@
defaultValue: false
humanReadableName: "[ITP Repro] 30 Second Timeout For Non-Cookie Data Removal"
humanReadableDescription: "Remove all non-cookie website data after just 30 seconds of no user interaction when Intelligent Tracking Prevention is enabled"
- category: internal
UseGPUProcessForMedia:
type: bool
@@ -450,5 +399,4 @@
condition: ENABLE(GPU_PROCESS)
humanReadableName: "Media in GPU Process"
humanReadableDescription: "Do all media loading and playback in the GPU Process"
- category: internal
webcoreName: useGPUProcessForMedia