Title: [292642] trunk/Source/WTF
Revision
292642
Author
[email protected]
Date
2022-04-08 16:41:24 -0700 (Fri, 08 Apr 2022)

Log Message

Unreviewed, reverting r292586.

Caused 50+ test failures on Mac wk1

Reverted changeset:

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

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (292641 => 292642)


--- trunk/Source/WTF/ChangeLog	2022-04-08 23:00:43 UTC (rev 292641)
+++ trunk/Source/WTF/ChangeLog	2022-04-08 23:41:24 UTC (rev 292642)
@@ -1,3 +1,15 @@
+2022-04-08  Truitt Savell  <[email protected]>
+
+        Unreviewed, reverting r292586.
+
+        Caused 50+ test failures on Mac wk1
+
+        Reverted changeset:
+
+        "Move long-enabled preferences away from experimental"
+        https://bugs.webkit.org/show_bug.cgi?id=238929
+        https://commits.webkit.org/r292586
+
 2022-04-08  Elliott Williams  <[email protected]>
 
         [Xcode] Avoid targeting 32-bit iOS and Mac architectures

Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml (292641 => 292642)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml	2022-04-08 23:00:43 UTC (rev 292641)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferences.yaml	2022-04-08 23:41:24 UTC (rev 292642)
@@ -312,30 +312,6 @@
       "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:
@@ -394,42 +370,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
-
-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)
@@ -828,20 +768,6 @@
     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
@@ -917,33 +843,6 @@
     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
@@ -1011,19 +910,6 @@
     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
@@ -1157,19 +1043,6 @@
     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
@@ -1197,20 +1070,6 @@
     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
@@ -1457,19 +1316,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
-
 MathMLEnabled:
   type: bool
   condition: ENABLE(MATHML)
@@ -1510,19 +1356,6 @@
     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
@@ -1628,19 +1461,6 @@
     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:
@@ -1842,18 +1662,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
-
 PDFPluginEnabled:
   type: bool
   webcoreBinding: none
@@ -1881,18 +1689,6 @@
     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:
@@ -2016,33 +1812,6 @@
     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:
@@ -2097,18 +1866,6 @@
       "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)
@@ -2268,18 +2025,6 @@
     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)
@@ -2513,18 +2258,6 @@
     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
@@ -2620,18 +2353,6 @@
       "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
@@ -2640,18 +2361,6 @@
     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:
@@ -2717,17 +2426,6 @@
     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
@@ -2813,19 +2511,6 @@
     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
@@ -2838,18 +2523,6 @@
     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:
@@ -2884,19 +2557,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
-
 WebGLEnabled:
   type: bool
   defaultValue:
@@ -2936,52 +2596,6 @@
     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 (292641 => 292642)


--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-08 23:00:43 UTC (rev 292641)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml	2022-04-08 23:41:24 UTC (rev 292642)
@@ -66,6 +66,30 @@
     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
@@ -80,6 +104,18 @@
     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
@@ -152,6 +188,18 @@
     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()"
@@ -260,6 +308,18 @@
     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"
@@ -463,6 +523,20 @@
     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"
@@ -501,6 +575,20 @@
     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"
@@ -513,6 +601,19 @@
     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"
@@ -558,6 +659,19 @@
     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"
@@ -570,6 +684,19 @@
     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
@@ -597,6 +724,20 @@
       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)"
@@ -682,6 +823,32 @@
     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
@@ -711,6 +878,19 @@
     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"
@@ -763,6 +943,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
+
 OverflowClipEnabled:
   type: bool
   humanReadableName: "CSS overflow: clip support"
@@ -800,6 +992,18 @@
     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"
@@ -935,6 +1139,33 @@
     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"
@@ -976,6 +1207,18 @@
       "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"
@@ -1078,6 +1321,18 @@
     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"
@@ -1130,6 +1385,30 @@
     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"
@@ -1142,6 +1421,18 @@
     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"
@@ -1191,6 +1482,17 @@
     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"
@@ -1201,6 +1503,31 @@
     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"
@@ -1292,6 +1619,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
+
 WebGLUsingMetal:
   type: bool
   humanReadableName: "WebGL via Metal"
@@ -1347,6 +1687,19 @@
       "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)
@@ -1360,6 +1713,26 @@
     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)
@@ -1386,6 +1759,19 @@
     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