Title: [292586] trunk/Source/WTF
Revision
292586
Author
[email protected]
Date
2022-04-07 18:35:03 -0700 (Thu, 07 Apr 2022)

Log Message

Move long-enabled preferences away from experimental
https://bugs.webkit.org/show_bug.cgi?id=238929

Reviewed by Tim Horton.

This only moves things which have a simple `default: true` and
have since Safari 15's release; there are likely other things
which could be moved.

It does, however, leave GoogleAntiFlickerOptimizationQuirkEnabled
as an experimental feature, as this seems something it is more
likely a developer may wish to toggle.

* Scripts/Preferences/WebPreferences.yaml:
* Scripts/Preferences/WebPreferencesExperimental.yaml:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (292585 => 292586)


--- trunk/Source/WTF/ChangeLog	2022-04-08 01:03:40 UTC (rev 292585)
+++ trunk/Source/WTF/ChangeLog	2022-04-08 01:35:03 UTC (rev 292586)
@@ -1,3 +1,21 @@
+2022-04-07  Sam Sneddon  <[email protected]>
+
+        Move long-enabled preferences away from experimental
+        https://bugs.webkit.org/show_bug.cgi?id=238929
+
+        Reviewed by Tim Horton.
+
+        This only moves things which have a simple `default: true` and
+        have since Safari 15's release; there are likely other things
+        which could be moved.
+
+        It does, however, leave GoogleAntiFlickerOptimizationQuirkEnabled
+        as an experimental feature, as this seems something it is more
+        likely a developer may wish to toggle.
+
+        * Scripts/Preferences/WebPreferences.yaml:
+        * Scripts/Preferences/WebPreferencesExperimental.yaml:
+
 2022-04-07  Brent Fulgham  <[email protected]>
 
         [WebKitLegacy] Remove NPAPIPlugInsEnabledForTestingInWebKitLegacy

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml (292585 => 292586)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml	2022-04-08 01:03:40 UTC (rev 292585)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml	2022-04-08 01:35:03 UTC (rev 292586)
@@ -312,6 +312,30 @@
       "ENABLE(APPLE_PAY_REMOTE_UI)": true
       default: false
 
+AspectRatioEnabled:
+  type: bool
+  humanReadableName: "CSS Aspect Ratio"
+  humanReadableDescription: "Enable aspect-ratio CSS property"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
+AspectRatioOfImgFromWidthAndHeightEnabled:
+  type: bool
+  humanReadableName: "Aspect ratio of <img> from width and height"
+  humanReadableDescription: "Map HTML attributes width/height to the default aspect ratio of <img>"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 AsynchronousSpellCheckingEnabled:
   type: bool
   defaultValue:
@@ -370,6 +394,42 @@
     WebCore:
       default: false
 
+BlankAnchorTargetImpliesNoOpenerEnabled:
+  type: bool
+  humanReadableName: "Blank anchor target implies rel=noopener"
+  humanReadableDescription: "target=_blank on anchor elements implies rel=noopener"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
+CSSColor4:
+  type: bool
+  humanReadableName: "CSS Color 4 Color Types"
+  humanReadableDescription: "Enable support for CSS Color 4 Color Types"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
+CSSIndividualTransformPropertiesEnabled:
+  type: bool
+  humanReadableName: "CSS Individual Transform Properties"
+  humanReadableDescription: "Support for the translate, scale and rotate CSS properties"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 CSSTransformStyleOptimized3DEnabled:
   type: bool
   condition: ENABLE(CSS_TRANSFORM_STYLE_OPTIMIZED_3D)
@@ -768,6 +828,20 @@
     WebCore:
       default: '""'
 
+# FIXME: This seems to be accidentally enabled for WebKit1 right now due to the old code using the
+# wrong preference key in some places. We should identify whether it really makes sense to keep this
+# enabled.
+FetchAPIKeepAliveEnabled:
+  type: bool
+  humanReadableName: "Fetch API Request KeepAlive"
+  humanReadableDescription: "Enable Fetch API Request KeepAlive"
+  webcoreBinding: RuntimeEnabledFeatures
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+
 FixedFontFamily:
   type: String
   webKitLegacyPreferenceKey: WebKitFixedFont
@@ -843,6 +917,33 @@
     WebCore:
       default: false
 
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+GenericCueAPIEnabled:
+  type: bool
+  condition: ENABLE(VIDEO)
+  humanReadableName: "Generic Text Track Cue API"
+  humanReadableDescription: "Enable Generic Text Track Cue API"
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+HDRMediaCapabilitiesEnabled:
+  type: bool
+  humanReadableName: "HDR Media Capabilities"
+  humanReadableDescription: "HDR Media Capabilities"
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
 HTTPEquivEnabled:
   type: bool
   webcoreName: httpEquivEnabled
@@ -910,6 +1011,19 @@
     WebCore:
       default: false
 
+# FIXME: This is not relevent for WebKitLegacy, so should be excluded from WebKitLegacy entirely.
+InProcessCookieCacheEnabled:
+  type: bool
+  humanReadableName: "In-Process Cookie Cache"
+  humanReadableDescription: "In-Process DOM Cookie Cache"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
 InactiveMediaCaptureSteamRepromptIntervalInMinutes:
   type: double
   webcoreBinding: none
@@ -1043,6 +1157,19 @@
     WebCore:
       default: false
 
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+IntersectionObserverEnabled:
+  type: bool
+  humanReadableName: "Intersection Observer"
+  humanReadableDescription: "Enable Intersection Observer support"
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
 InvisibleAutoplayNotPermitted:
   type: bool
   webKitLegacyPreferenceKey: InvisibleAutoplayNotPermitted
@@ -1070,6 +1197,20 @@
     WebCore:
       default: false
 
+# FIXME: The 'Is' prefix is inconsistent with most other preferences and should be removed.
+# FIXME: This is not implemented for WebKitLegacy, so should be excluded from WebKitLegacy entirely.
+IsNSURLSessionWebSocketEnabled:
+  type: bool
+  humanReadableName: "NSURLSession WebSocket"
+  humanReadableDescription: "Use NSURLSession WebSocket API"
+  webcoreBinding: RuntimeEnabledFeatures
+  condition: HAVE(NSURLSESSION_WEBSOCKET)
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+
 # FIXME: This is not relevent for WebKitLegacy, so should be excluded from WebKitLegacy entirely (though we should still set the default value to false when initializing settings).
 ItpDebugModeEnabled:
   type: bool
@@ -1316,6 +1457,19 @@
     WebCore:
       default: false
 
+MaskWebGLStringsEnabled:
+  type: bool
+  humanReadableName: "Mask WebGL Strings"
+  humanReadableDescription: "Mask WebGL Vendor, Renderer, Shader Language Strings"
+  condition: ENABLE(WEBGL) || ENABLE(WEBGL2)
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 MathMLEnabled:
   type: bool
   condition: ENABLE(MATHML)
@@ -1356,6 +1510,19 @@
     WebCore:
       default: false
 
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+MediaCapabilitiesExtensionsEnabled:
+  type: bool
+  humanReadableName: "Media Capabilities Extensions"
+  humanReadableDescription: "Media Capabilities Extensions"
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
 MediaCaptionFormatTypesAllowedInCaptivePortalMode:
   type: String
   webcoreBinding: none
@@ -1461,6 +1628,19 @@
     WebCore:
       default: false
 
+MediaSessionEnabled:
+  type: bool
+  humanReadableName: "Media Session API"
+  humanReadableDescription: "Media Session API"
+  condition: ENABLE(MEDIA_SESSION)
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 MediaSourceEnabled:
   type: bool
   defaultValue:
@@ -1662,6 +1842,18 @@
     WebCore:
       default: false
 
+OpusDecoderEnabled:
+  type: bool
+  humanReadableName: "Opus audio decoder"
+  humanReadableDescription: "Enable Opus audio decoder"
+  condition: ENABLE(OPUS)
+  webcoreBinding: RuntimeEnabledFeatures
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+
 PDFPluginEnabled:
   type: bool
   webcoreBinding: none
@@ -1689,6 +1881,18 @@
     WebCore:
       default: false
 
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+PaintTimingEnabled:
+  type: bool
+  humanReadableName: "Paint Timing"
+  humanReadableDescription: "Enable PaintTiming API"
+  webcoreBinding: RuntimeEnabledFeatures
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+
 PassiveTouchListenersAsDefaultOnDocument:
   type: bool
   defaultValue:
@@ -1812,6 +2016,33 @@
     WebCore:
       default: false
 
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+ReferrerPolicyAttributeEnabled:
+  type: bool
+  humanReadableName: "Referrer Policy attribute"
+  humanReadableDescription: "Enable Referrer Policy attribute"
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
+# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
+RemotePlaybackEnabled:
+  type: bool
+  humanReadableName: "Remote Playback API"
+  humanReadableDescription: "Enable Remote Playback API"
+  condition: ENABLE(WIRELESS_PLAYBACK_TARGET)
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 RequiresPageVisibilityToPlayAudio:
   type: bool
   defaultValue:
@@ -1866,6 +2097,18 @@
       "PLATFORM(IOS_FAMILY)": true
       default: false
 
+ResizeObserverEnabled:
+  type: bool
+  humanReadableName: "Resize Observer"
+  humanReadableDescription: "Enable Resize Observer support"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 RubberBandingForSubScrollableRegionsEnabled:
   type: bool
   condition: HAVE(RUBBER_BANDING)
@@ -2025,6 +2268,18 @@
     WebCore:
       default: false
 
+ShouldDeferAsynchronousScriptsUntilAfterDocumentLoadOrFirstPaint:
+  type: bool
+  humanReadableName: "Defer async scripts until DOMContentLoaded or first-paint"
+  humanReadableDescription: "Defer async scripts until DOMContentLoaded or first-paint"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 ShouldDisplayCaptions:
   type: bool
   condition: ENABLE(VIDEO)
@@ -2258,6 +2513,18 @@
     WebCore:
       default: false
 
+SyntheticEditingCommandsEnabled:
+  type: bool
+  humanReadableName: "Synthetic Editing Commands"
+  humanReadableDescription: "Enable Synthetic Editing Commands"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 # FIXME: There is no custom binding implemented for WebKitLegacy.
 SystemLayoutDirection:
   type: uint32_t
@@ -2353,6 +2620,18 @@
       "PLATFORM(WATCHOS)": false
       default: true
 
+ThirdPartyIframeRedirectBlockingEnabled:
+  type: bool
+  humanReadableName: "Block top-level redirects by third-party iframes"
+  humanReadableDescription: "Block top-level redirects by third-party iframes"
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 ThreadedScrollingEnabled:
   type: bool
   webcoreBinding: none
@@ -2361,6 +2640,18 @@
     WebKit:
       default: true
 
+TransformStreamAPIEnabled:
+  type: bool
+  humanReadableName: "TransformStream API"
+  humanReadableDescription: "Enable Transform Stream API"
+  defaultValue:
+    WebCore:
+      default: true
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+
 TreatsAnyTextCSSLinkAsStylesheet:
   type: bool
   defaultValue:
@@ -2426,6 +2717,17 @@
     WebCore:
       default: false
 
+UserGesturePromisePropagationEnabled:
+  type: bool
+  humanReadableName: "UserGesture Promise Propagation"
+  humanReadableDescription: "UserGesture Promise Propagation"
+  webcoreBinding: RuntimeEnabledFeatures
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+
 # FIXME: There is no custom binding implemented for WebKitLegacy.
 UserInterfaceDirectionPolicy:
   type: uint32_t
@@ -2511,6 +2813,19 @@
     WebCore:
       default: false
 
+VisualViewportAPIEnabled:
+  type: bool
+  humanReadableName: "Visual Viewport API"
+  humanReadableDescription: "Enable Visual Viewport API"
+  defaultValue:
+    WebKitLegacy:
+      "PLATFORM(IOS_FAMILY)" : false
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: false
+
 VisualViewportEnabled:
   type: bool
   webcoreOnChange: setNeedsRecalcStyleInAllFrames
@@ -2523,6 +2838,18 @@
     WebCore:
       default: true
 
+VorbisDecoderEnabled:
+  type: bool
+  humanReadableName: "Vorbis audio decoder"
+  humanReadableDescription: "Enable Vorbis audio decoder"
+  condition: ENABLE(VORBIS)
+  webcoreBinding: RuntimeEnabledFeatures
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+
 WantsBalancedSetDefersLoadingBehavior:
   type: bool
   defaultValue:
@@ -2557,6 +2884,19 @@
     WebCore:
       default: false
 
+WebGL2Enabled:
+  type: bool
+  humanReadableName: "WebGL 2.0"
+  humanReadableDescription: "WebGL 2 prototype"
+  condition: ENABLE(WEBGL2)
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 WebGLEnabled:
   type: bool
   defaultValue:
@@ -2596,6 +2936,52 @@
     WebKit:
       default: true
 
+# FIXME: Is this implemented for WebKitLegacy? If not, this should be excluded from WebKitLegacy entirely.
+WebRTCH264LowLatencyEncoderEnabled:
+  type: bool
+  humanReadableName: "WebRTC H264 LowLatency encoder"
+  humanReadableDescription: "Enable H264 LowLatency encoder"
+  webcoreBinding: RuntimeEnabledFeatures
+  condition: ENABLE(WEB_RTC)
+  defaultValue:
+    WebKitLegacy:
+      default: false
+    WebKit:
+      default: true
+
+WebRTCPlatformTCPSocketsEnabled:
+  type: bool
+  humanReadableName: "WebRTC Platform TCP Sockets"
+  humanReadableDescription: "Enable WebRTC Platform TCP Sockets"
+  webcoreBinding: RuntimeEnabledFeatures
+  condition: ENABLE(WEB_RTC)
+  defaultValue:
+    WebKit:
+      default: true
+
+WebRTCPlatformUDPSocketsEnabled:
+  type: bool
+  humanReadableName: "WebRTC Platform UDP Sockets"
+  humanReadableDescription: "Enable WebRTC Platform UDP Sockets"
+  webcoreBinding: RuntimeEnabledFeatures
+  condition: ENABLE(WEB_RTC)
+  defaultValue:
+    WebKit:
+      default: true
+
+WebRTCVP9Profile0CodecEnabled:
+  type: bool
+  humanReadableName: "WebRTC VP9 profile 0 codec"
+  humanReadableDescription: "Enable WebRTC VP9 profile 0 codec"
+  condition: ENABLE(WEB_RTC)
+  defaultValue:
+    WebKitLegacy:
+      default: true
+    WebKit:
+      default: true
+    WebCore:
+      default: true
+
 WebSecurityEnabled:
   type: bool
   inspectorOverride: true

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (292585 => 292586)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-08 01:03:40 UTC (rev 292585)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-08 01:35:03 UTC (rev 292586)
@@ -66,30 +66,6 @@
     WebKit:
       default: false
 
-AspectRatioEnabled:
-  type: bool
-  humanReadableName: "CSS Aspect Ratio"
-  humanReadableDescription: "Enable aspect-ratio CSS property"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
-AspectRatioOfImgFromWidthAndHeightEnabled:
-  type: bool
-  humanReadableName: "Aspect ratio of <img> from width and height"
-  humanReadableDescription: "Map HTML attributes width/height to the default aspect ratio of <img>"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 # FIXME: This is on by default in WebKit2 PLATFORM(COCOA). Perhaps we should consider turning it on for WebKitLegacy as well.
 AsyncClipboardAPIEnabled:
   type: bool
@@ -104,18 +80,6 @@
     WebCore:
       default: false
 
-BlankAnchorTargetImpliesNoOpenerEnabled:
-  type: bool
-  humanReadableName: "Blank anchor target implies rel=noopener"
-  humanReadableDescription: "target=_blank on anchor elements implies rel=noopener"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 # We would have to partition BroadcastChannel based on PageGroups if we wanted to enable this for WebKitLegacy.
 BroadcastChannelEnabled:
   type: bool
@@ -188,18 +152,6 @@
     WebCore:
       default: true
 
-CSSColor4:
-  type: bool
-  humanReadableName: "CSS Color 4 Color Types"
-  humanReadableDescription: "Enable support for CSS Color 4 Color Types"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 CSSColorContrastEnabled:
   type: bool
   humanReadableName: "CSS color-contrast()"
@@ -308,18 +260,6 @@
     WebCore:
       default: true
 
-CSSIndividualTransformPropertiesEnabled:
-  type: bool
-  humanReadableName: "CSS Individual Transform Properties"
-  humanReadableDescription: "Support for the translate, scale and rotate CSS properties"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 CSSInputSecurityEnabled:
   type: bool
   humanReadableName: "CSS Input Security"
@@ -523,20 +463,6 @@
     WebKitLegacy:
       default: false
       
-# FIXME: This seems to be accidentally enabled for WebKit1 right now due to the old code using the
-# wrong preference key in some places. We should identify whether it really makes sense to keep this
-# enabled.
-FetchAPIKeepAliveEnabled:
-  type: bool
-  humanReadableName: "Fetch API Request KeepAlive"
-  humanReadableDescription: "Enable Fetch API Request KeepAlive"
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-
 FetchMetadataEnabled:
   type: bool
   humanReadableName: "Fetch Metadata"
@@ -575,20 +501,6 @@
     WebCore:
       default: true
 
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-GenericCueAPIEnabled:
-  type: bool
-  condition: ENABLE(VIDEO)
-  humanReadableName: "Generic Text Track Cue API"
-  humanReadableDescription: "Enable Generic Text Track Cue API"
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
 GoogleAntiFlickerOptimizationQuirkEnabled:
   type: bool
   humanReadableName: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization"
@@ -601,19 +513,6 @@
     WebCore:
       default: true
 
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-HDRMediaCapabilitiesEnabled:
-  type: bool
-  humanReadableName: "HDR Media Capabilities"
-  humanReadableDescription: "HDR Media Capabilities"
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
 HTTP3Enabled:
   type: bool
   humanReadableName: "HTTP/3"
@@ -659,19 +558,6 @@
     WebKit:
       default: true
 
-# FIXME: This is not relevent for WebKitLegacy, so should be excluded from WebKitLegacy entirely.
-InProcessCookieCacheEnabled:
-  type: bool
-  humanReadableName: "In-Process Cookie Cache"
-  humanReadableDescription: "In-Process DOM Cookie Cache"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
 InertAttributeEnabled:
   type: bool
   humanReadableName: "inert attribute"
@@ -684,19 +570,6 @@
     WebCore:
       default: true
 
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-IntersectionObserverEnabled:
-  type: bool
-  humanReadableName: "Intersection Observer"
-  humanReadableDescription: "Enable Intersection Observer support"
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
 # FIXME: The 'Is' prefix is inconsistent with most other preferences and should be removed.
 IsFirstPartyWebsiteDataRemovalDisabled:
   type: bool
@@ -724,20 +597,6 @@
       default: false
 
 # FIXME: The 'Is' prefix is inconsistent with most other preferences and should be removed.
-# FIXME: This is not implemented for WebKitLegacy, so should be excluded from WebKitLegacy entirely.
-IsNSURLSessionWebSocketEnabled:
-  type: bool
-  humanReadableName: "NSURLSession WebSocket"
-  humanReadableDescription: "Use NSURLSession WebSocket API"
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: HAVE(NSURLSESSION_WEBSOCKET)
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-
-# FIXME: The 'Is' prefix is inconsistent with most other preferences and should be removed.
 IsSameSiteStrictEnforcementEnabled:
   type: bool
   humanReadableName: "SameSite strict enforcement (ITP)"
@@ -823,32 +682,6 @@
     WebCore:
       default: false
 
-MaskWebGLStringsEnabled:
-  type: bool
-  humanReadableName: "Mask WebGL Strings"
-  humanReadableDescription: "Mask WebGL Vendor, Renderer, Shader Language Strings"
-  condition: ENABLE(WEBGL) || ENABLE(WEBGL2)
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-MediaCapabilitiesExtensionsEnabled:
-  type: bool
-  humanReadableName: "Media Capabilities Extensions"
-  humanReadableDescription: "Media Capabilities Extensions"
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
 # FIXME: Is this implemented for WebKitLegacy? If not, this should be excluded from WebKitLegacy entirely.
 MediaRecorderEnabled:
   type: bool
@@ -878,19 +711,6 @@
     WebCore:
       default: true
 
-MediaSessionEnabled:
-  type: bool
-  humanReadableName: "Media Session API"
-  humanReadableDescription: "Media Session API"
-  condition: ENABLE(MEDIA_SESSION)
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 MediaSessionPlaylistEnabled:
   type: bool
   humanReadableName: "Experimental MediaSession playlist API"
@@ -943,18 +763,6 @@
     WebCore:
       default: false
 
-OpusDecoderEnabled:
-  type: bool
-  humanReadableName: "Opus audio decoder"
-  humanReadableDescription: "Enable Opus audio decoder"
-  condition: ENABLE(OPUS)
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-
 OverflowClipEnabled:
   type: bool
   humanReadableName: "CSS overflow: clip support"
@@ -992,18 +800,6 @@
     WebKit:
       default: false
 
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-PaintTimingEnabled:
-  type: bool
-  humanReadableName: "Paint Timing"
-  humanReadableDescription: "Enable PaintTiming API"
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-
 PassiveWheelListenersAsDefaultOnDocument:
   type: bool
   humanReadableName: "Wheel Event listeners on the root made passive"
@@ -1139,33 +935,6 @@
     WebKit:
       default: false
 
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-ReferrerPolicyAttributeEnabled:
-  type: bool
-  humanReadableName: "Referrer Policy attribute"
-  humanReadableDescription: "Enable Referrer Policy attribute"
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
-# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
-RemotePlaybackEnabled:
-  type: bool
-  humanReadableName: "Remote Playback API"
-  humanReadableDescription: "Enable Remote Playback API"
-  condition: ENABLE(WIRELESS_PLAYBACK_TARGET)
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 RequestIdleCallbackEnabled:
   type: bool
   humanReadableName: "requestIdleCallback"
@@ -1207,18 +976,6 @@
       "USE(GSTREAMER)": true
       default: false
 
-ResizeObserverEnabled:
-  type: bool
-  humanReadableName: "Resize Observer"
-  humanReadableDescription: "Enable Resize Observer support"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 ResolutionMediaFeatureEnabled:
   type: bool
   humanReadableName: "Resolution media feature"
@@ -1321,18 +1078,6 @@
     WebKit:
       default: true
 
-ShouldDeferAsynchronousScriptsUntilAfterDocumentLoadOrFirstPaint:
-  type: bool
-  humanReadableName: "Defer async scripts until DOMContentLoaded or first-paint"
-  humanReadableDescription: "Defer async scripts until DOMContentLoaded or first-paint"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 SpeechRecognitionEnabled:
   type: bool
   humanReadableName: "SpeechRecognition API"
@@ -1385,30 +1130,6 @@
     WebCore:
       default: true
 
-SyntheticEditingCommandsEnabled:
-  type: bool
-  humanReadableName: "Synthetic Editing Commands"
-  humanReadableDescription: "Enable Synthetic Editing Commands"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
-ThirdPartyIframeRedirectBlockingEnabled:
-  type: bool
-  humanReadableName: "Block top-level redirects by third-party iframes"
-  humanReadableDescription: "Block top-level redirects by third-party iframes"
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 TrackConfigurationEnabled:
   type: bool
   humanReadableName: "Track Configuration API"
@@ -1421,18 +1142,6 @@
     WebCore:
       default: false
 
-TransformStreamAPIEnabled:
-  type: bool
-  humanReadableName: "TransformStream API"
-  humanReadableDescription: "Enable Transform Stream API"
-  defaultValue:
-    WebCore:
-      default: true
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-
 UseGPUProcessForDOMRenderingEnabled:
   type: bool
   humanReadableName: "GPU Process: DOM Rendering"
@@ -1482,17 +1191,6 @@
     WebCore:
       default: false
 
-UserGesturePromisePropagationEnabled:
-  type: bool
-  humanReadableName: "UserGesture Promise Propagation"
-  humanReadableDescription: "UserGesture Promise Propagation"
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-
 VP9SWDecoderEnabledOnBattery:
   type: bool
   humanReadableName: "VP9 SW decoder on battery"
@@ -1503,31 +1201,6 @@
     WebKit:
       default: false
 
-VisualViewportAPIEnabled:
-  type: bool
-  humanReadableName: "Visual Viewport API"
-  humanReadableDescription: "Enable Visual Viewport API"
-  defaultValue:
-    WebKitLegacy:
-      "PLATFORM(IOS_FAMILY)" : false
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: false
-
-VorbisDecoderEnabled:
-  type: bool
-  humanReadableName: "Vorbis audio decoder"
-  humanReadableDescription: "Enable Vorbis audio decoder"
-  condition: ENABLE(VORBIS)
-  webcoreBinding: RuntimeEnabledFeatures
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-
 WebAnimationsCompositeOperationsEnabled:
   type: bool
   humanReadableName: "Web Animations composite operations"
@@ -1619,19 +1292,6 @@
     WebCore:
       default: false
 
-WebGL2Enabled:
-  type: bool
-  humanReadableName: "WebGL 2.0"
-  humanReadableDescription: "WebGL 2 prototype"
-  condition: ENABLE(WEBGL2)
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 WebGLUsingMetal:
   type: bool
   humanReadableName: "WebGL via Metal"
@@ -1687,19 +1347,6 @@
       "USE(LIBWEBRTC)": true
       default: false
 
-# FIXME: Is this implemented for WebKitLegacy? If not, this should be excluded from WebKitLegacy entirely.
-WebRTCH264LowLatencyEncoderEnabled:
-  type: bool
-  humanReadableName: "WebRTC H264 LowLatency encoder"
-  humanReadableDescription: "Enable H264 LowLatency encoder"
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: ENABLE(WEB_RTC)
-  defaultValue:
-    WebKitLegacy:
-      default: false
-    WebKit:
-      default: true
-
 WebRTCH265CodecEnabled:
   type: bool
   condition: ENABLE(WEB_RTC)
@@ -1713,26 +1360,6 @@
     WebCore:
       default: false
 
-WebRTCPlatformTCPSocketsEnabled:
-  type: bool
-  humanReadableName: "WebRTC Platform TCP Sockets"
-  humanReadableDescription: "Enable WebRTC Platform TCP Sockets"
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: ENABLE(WEB_RTC)
-  defaultValue:
-    WebKit:
-      default: true
-
-WebRTCPlatformUDPSocketsEnabled:
-  type: bool
-  humanReadableName: "WebRTC Platform UDP Sockets"
-  humanReadableDescription: "Enable WebRTC Platform UDP Sockets"
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: ENABLE(WEB_RTC)
-  defaultValue:
-    WebKit:
-      default: true
-
 WebRTCSFrameTransformEnabled:
   type: bool
   condition: ENABLE(WEB_RTC)
@@ -1759,19 +1386,6 @@
     WebCore:
       default: false
 
-WebRTCVP9Profile0CodecEnabled:
-  type: bool
-  humanReadableName: "WebRTC VP9 profile 0 codec"
-  humanReadableDescription: "Enable WebRTC VP9 profile 0 codec"
-  condition: ENABLE(WEB_RTC)
-  defaultValue:
-    WebKitLegacy:
-      default: true
-    WebKit:
-      default: true
-    WebCore:
-      default: true
-
 WebRTCVP9Profile2CodecEnabled:
   type: bool
   humanReadableName: "WebRTC VP9 profile 2 codec"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to