Link prefetch not useful for top-level navigation
[WebKit-https.git] / Source / WebKit / Shared / WebPreferences.yaml
index 609d31f..8d24ac7 100644 (file)
@@ -14,12 +14,9 @@ DeviceOrientationEventEnabled:
 
 DeviceOrientationPermissionAPIEnabled:
   type: bool
 
 DeviceOrientationPermissionAPIEnabled:
   type: bool
-  defaultValue: defaultDeviceOrientationPermissionAPIEnabled()
+  defaultValue: false
   condition: ENABLE(DEVICE_ORIENTATION)
   webcoreName: deviceOrientationPermissionAPIEnabled
   condition: ENABLE(DEVICE_ORIENTATION)
   webcoreName: deviceOrientationPermissionAPIEnabled
-  humanReadableName: "Permission API for device orientation / motion access."
-  humanReadableDescription: "DeviceOrientationEvent.requestPermission() / DeviceMotionEvent.requestPermission()"
-  category: experimental
 
 JavaScriptEnabled:
   type: bool
 
 JavaScriptEnabled:
   type: bool
@@ -527,6 +524,12 @@ MediaStreamEnabled:
   webcoreBinding: RuntimeEnabledFeatures
   condition: ENABLE(MEDIA_STREAM)
 
   webcoreBinding: RuntimeEnabledFeatures
   condition: ENABLE(MEDIA_STREAM)
 
+MediaEnabled:
+  type: bool
+  defaultValue: true
+  webcoreName: mediaEnabled
+  condition: ENABLE(VIDEO)
+
 ScreenCaptureEnabled:
   type: bool
   defaultValue: true
 ScreenCaptureEnabled:
   type: bool
   defaultValue: true
@@ -590,6 +593,7 @@ MediaSourceEnabled:
   type: bool
   defaultValue: WebCore::Settings::platformDefaultMediaSourceEnabled()
   condition: ENABLE(MEDIA_SOURCE)
   type: bool
   defaultValue: WebCore::Settings::platformDefaultMediaSourceEnabled()
   condition: ENABLE(MEDIA_SOURCE)
+  webcoreBinding: none
 
 ViewGestureDebuggingEnabled:
   type: bool
 
 ViewGestureDebuggingEnabled:
   type: bool
@@ -1060,6 +1064,14 @@ DisableScreenSizeOverride:
   category: debug
   condition: PLATFORM(IOS_FAMILY)
 
   category: debug
   condition: PLATFORM(IOS_FAMILY)
 
+UseModernCompatibilityModeByDefault:
+  type: bool
+  defaultValue: false
+  humanReadableName: "Use Modern Compatibility Mode"
+  humanReadableDescription: "Use modern compatibility mode by default"
+  webcoreBinding: none
+  category: debug
+
 SimpleLineLayoutDebugBordersEnabled:
   type: bool
   defaultValue: false
 SimpleLineLayoutDebugBordersEnabled:
   type: bool
   defaultValue: false
@@ -1077,7 +1089,7 @@ LogsPageMessagesToSystemConsoleEnabled:
 
 IgnoreViewportScalingConstraints:
   type: bool
 
 IgnoreViewportScalingConstraints:
   type: bool
-  defaultValue: true
+  defaultValue: false
   category: debug
   webcoreBinding: none
   condition: PLATFORM(IOS_FAMILY)
   category: debug
   webcoreBinding: none
   condition: PLATFORM(IOS_FAMILY)
@@ -1192,6 +1204,10 @@ EditableImagesEnabled:
   type: bool
   defaultValue: false
 
   type: bool
   defaultValue: false
 
+ShouldDecidePolicyBeforeLoadingQuickLookPreview:
+  defaultValue: false
+  type: bool
+
 # For experimental features:
 # The type should be boolean.
 # You must provide a humanReadableName and humanReadableDescription for all experimental features. They
 # For experimental features:
 # The type should be boolean.
 # You must provide a humanReadableName and humanReadableDescription for all experimental features. They
@@ -1288,15 +1304,6 @@ WebGPUEnabled:
   webcoreBinding: RuntimeEnabledFeatures
   condition: ENABLE(WEBGPU)
 
   webcoreBinding: RuntimeEnabledFeatures
   condition: ENABLE(WEBGPU)
 
-WebMetalEnabled:
-  type: bool
-  defaultValue: false
-  humanReadableName: "WebMetal"
-  humanReadableDescription: "WebMetal prototype"
-  category: experimental
-  webcoreBinding: RuntimeEnabledFeatures
-  condition: ENABLE(WEBMETAL)
-
 AccessibilityObjectModelEnabled:
   type: bool
   defaultValue: false
 AccessibilityObjectModelEnabled:
   type: bool
   defaultValue: false
@@ -1383,12 +1390,45 @@ MediaCapabilitiesExtensionsEnabled:
 
 IsITPFirstPartyWebsiteDataRemovalEnabled:
     type: bool
 
 IsITPFirstPartyWebsiteDataRemovalEnabled:
     type: bool
-    defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
+    defaultValue: true
     humanReadableName: "ITP First Party Website Data Removal"
     humanReadableDescription: "Enable Intelligent Tracking Prevention First Party Website Data Removal"
     webcoreBinding: RuntimeEnabledFeatures
     category: experimental
 
     humanReadableName: "ITP First Party Website Data Removal"
     humanReadableDescription: "Enable Intelligent Tracking Prevention First Party Website Data Removal"
     webcoreBinding: RuntimeEnabledFeatures
     category: experimental
 
+ResizeObserverEnabled:
+  type: bool
+  defaultValue: false
+  humanReadableName: "Resize Observer"
+  humanReadableDescription: "Enable Resize Observer support"
+  category: experimental
+  condition: ENABLE(RESIZE_OBSERVER)
+
+AdClickAttributionEnabled:
+    type: bool
+    defaultValue: false
+    humanReadableName: "Ad Click Attribution"
+    humanReadableDescription: "Enable Ad Click Attribution for Cross-Site Link Navigations"
+    webcoreBinding: RuntimeEnabledFeatures
+    category: experimental
+
+AdClickAttributionDebugModeEnabled:
+    type: bool
+    defaultValue: false
+    humanReadableName: "Ad Click Attribution Debug Mode"
+    humanReadableDescription: "Enable Ad Click Attribution Debug Mode"
+    webcoreBinding: RuntimeEnabledFeatures
+    category: experimental
+
+FetchAPIKeepAliveEnabled:
+  type: bool
+  defaultValue: true
+  humanReadableName: "Fetch API Request KeepAlive"
+  humanReadableDescription: "Enable Fetch API Request KeepAlive"
+  category: experimental
+  webcoreBinding: RuntimeEnabledFeatures
+  webcoreName: fetchAPIKeepAliveEnabled
+
 # For internal features:
 # The type should be boolean.
 # You must provide a humanReadableName and humanReadableDescription for all debug features. They
 # For internal features:
 # The type should be boolean.
 # You must provide a humanReadableName and humanReadableDescription for all debug features. They
@@ -1450,15 +1490,6 @@ LegacyOverflowScrollingTouchEnabled:
   condition: ENABLE(OVERFLOW_SCROLLING_TOUCH)
   category: internal
 
   condition: ENABLE(OVERFLOW_SCROLLING_TOUCH)
   category: internal
 
-FetchAPIKeepAliveEnabled:
-  type: bool
-  defaultValue: false
-  humanReadableName: "Fetch API Request KeepAlive"
-  humanReadableDescription: "Enable Fetch API Request KeepAlive"
-  category: internal
-  webcoreBinding: RuntimeEnabledFeatures
-  webcoreName: fetchAPIKeepAliveEnabled
-
 WebGLCompressedTextureASTCSupportEnabled:
   type: bool
   defaultValue: false
 WebGLCompressedTextureASTCSupportEnabled:
   type: bool
   defaultValue: false
@@ -1587,14 +1618,6 @@ CSSLogicalEnabled:
   webcoreBinding: RuntimeEnabledFeatures
   category: internal
 
   webcoreBinding: RuntimeEnabledFeatures
   category: internal
 
-AdClickAttributionEnabled:
-  type: bool
-  defaultValue: false
-  humanReadableName: "Ad Click Attribution"
-  humanReadableDescription: "Enable Ad Click Attribution for Cross-Site Link Navigations"
-  webcoreBinding: RuntimeEnabledFeatures
-  category: internal
-
 DOMPasteAccessRequestsEnabled:
   type: bool
   defaultValue: DEFAULT_DOM_PASTE_ACCESS_REQUESTS_ENABLED
 DOMPasteAccessRequestsEnabled:
   type: bool
   defaultValue: DEFAULT_DOM_PASTE_ACCESS_REQUESTS_ENABLED
@@ -1619,6 +1642,21 @@ ReferrerPolicyAttributeEnabled:
   category: experimental
   webcoreBinding: RuntimeEnabledFeatures
 
   category: experimental
   webcoreBinding: RuntimeEnabledFeatures
 
+PageAtRuleSupportEnabled:
+  type: bool
+  defaultValue: false
+  humanReadableName: "@page CSS at-rule support"
+  humanReadableDescription: "Enable @page support"
+  category: experimental
+  webcoreBinding: RuntimeEnabledFeatures
+
+CoreMathMLEnabled:
+  type: bool
+  defaultValue: DEFAULT_CORE_MATHML_ENABLED
+  humanReadableName: "MathML Core"
+  humanReadableDescription: "Disable features removed from the MathML Core spec."
+  category: experimental
+
 ApplePayRemoteUIEnabled:
   category: internal
   condition: ENABLE(APPLE_PAY_REMOTE_UI)
 ApplePayRemoteUIEnabled:
   category: internal
   condition: ENABLE(APPLE_PAY_REMOTE_UI)
@@ -1627,6 +1665,14 @@ ApplePayRemoteUIEnabled:
   humanReadableName: "Apple Pay Remote UI"
   type: bool
 
   humanReadableName: "Apple Pay Remote UI"
   type: bool
 
+LinkPrefetchEnabled:
+  type: bool
+  defaultValue: false
+  humanReadableName: "LinkPrefetch"
+  humanReadableDescription: "Enable LinkedPrefetch"
+  webcoreBinding: RuntimeEnabledFeatures
+  category: experimental
+
 # Deprecated
 
 ICECandidateFilteringEnabled:
 # Deprecated
 
 ICECandidateFilteringEnabled: