Changeset 267194 in webkit


Ignore:
Timestamp:
Sep 17, 2020, 9:17:40 AM (5 years ago)
Author:
weinig@apple.com
Message:

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:
Location:
trunk/Source/WebKit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r267188 r267194  
     12020-09-17  Sam Weinig  <weinig@apple.com>
     2
     3        We shouldn't need to specify a category for preferences now that they are split into separate files
     4        https://bugs.webkit.org/show_bug.cgi?id=216648
     5
     6        Reviewed by Tim Horton.
     7
     8        Remove need / ability to specify a category in the yaml, rather, infer the category
     9        from which file it is in.
     10
     11        * Scripts/GeneratePreferences.rb:
     12        * Shared/WebPreferencesDebug.yaml:
     13        * Shared/WebPreferencesExperimental.yaml:
     14        * Shared/WebPreferencesInternal.yaml:
     15
    1162020-09-17  Antoine Quint  <graouts@webkit.org>
    217
  • trunk/Source/WebKit/Scripts/GeneratePreferences.rb

    r267181 r267194  
    11#!/usr/bin/env ruby
    22#
    3 # Copyright (c) 2017 Apple Inc. All rights reserved.
     3# Copyright (c) 2017, 2020 Apple Inc. All rights reserved.
    44#
    55# Redistribution and use in source and binary forms, with or without
     
    9696  attr_accessor :humanReadableName
    9797  attr_accessor :humanReadableDescription
    98   attr_accessor :category
    9998  attr_accessor :webcoreBinding
    10099  attr_accessor :condition
     
    107106    @humanReadableName = '"' + (opts["humanReadableName"] || "") + '"'
    108107    @humanReadableDescription = '"' + (opts["humanReadableDescription"] || "") + '"'
    109     @category = opts["category"]
    110108    @getter = opts["getter"]
    111109    @webcoreBinding = opts["webcoreBinding"]
     
    164162
    165163    @preferences = []
     164    @preferencesNotDebug = []
     165    @preferencesDebug = []
     166    @experimentalFeatures = []
     167    @internalDebugFeatures = []
     168
    166169    parsedBasePreferences.each do |name, options|
    167       @preferences << Preference.new(name, options)
     170      preference = Preference.new(name, options)
     171      @preferences << preference
     172      @preferencesNotDebug << preference
    168173    end
    169174    parsedDebugPreferences.each do |name, options|
    170       @preferences << Preference.new(name, options)
     175      preference = Preference.new(name, options)
     176      @preferences << preference
     177      @preferencesDebug << preference
    171178    end
    172179    parsedExperimentalPreferences.each do |name, options|
    173       @preferences << Preference.new(name, options)
     180      preference = Preference.new(name, options)
     181      @preferences << preference
     182      @experimentalFeatures << preference
    174183    end
    175184    parsedInternalPreferences.each do |name, options|
    176       @preferences << Preference.new(name, options)
    177     end
     185      preference = Preference.new(name, options)
     186      @preferences << preference
     187      @internalDebugFeatures << preference
     188    end
     189
    178190    @preferences.sort! { |x, y| x.name <=> y.name }
    179 
    180     @preferencesNotDebug = @preferences.select { |p| !p.category }
    181     @preferencesDebug = @preferences.select { |p| p.category == "debug" }
    182     @experimentalFeatures = @preferences.select { |p| p.category == "experimental" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
    183     @internalDebugFeatures = @preferences.select { |p| p.category == "internal" }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
     191    @preferencesNotDebug.sort! { |x, y| x.name <=> y.name }
     192    @preferencesDebug.sort! { |x, y| x.name <=> y.name }
     193    @experimentalFeatures.sort! { |x, y| x.name <=> y.name }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
     194    @internalDebugFeatures.sort! { |x, y| x.name <=> y.name }.sort! { |x, y| x.humanReadableName <=> y.humanReadableName }
    184195
    185196    @preferencesBoundToSetting = @preferences.select { |p| !p.webcoreBinding }
  • trunk/Source/WebKit/Shared/WebPreferencesDebug.yaml

    r267181 r267194  
    2727  type: bool
    2828  defaultValue: true
    29   category: debug
    3029
    3130SubpixelAntialiasedLayerTextEnabled:
    3231  type: bool
    3332  defaultValue: DEFAULT_SUBPIXEL_ANTIALIASED_LAYER_TEXT_ENABLED
    34   category: debug
    3533
    3634DisplayListDrawingEnabled:
    3735  type: bool
    3836  defaultValue: false
    39   category: debug
    4037
    4138CompositingBordersVisible:
    4239  type: bool
    4340  defaultValue: false
    44   category: debug
    4541  webcoreName: showDebugBorders
    4642
     
    4844  type: bool
    4945  defaultValue: false
    50   category: debug
    5146  webcoreName: showRepaintCounter
    5247
     
    5449  type: bool
    5550  defaultValue: false
    56   category: debug
    5751  webcoreName: showTiledScrollingIndicator
    5852
     
    6054  type: bool
    6155  defaultValue: false
    62   category: debug
    6356  condition: PLATFORM(IOS_FAMILY)
    6457
     
    6659  type: bool
    6760  defaultValue: false
    68   category: debug
    6961
    7062DeveloperExtrasEnabled:
    7163  type: bool
    7264  defaultValue: false
    73   category: debug
    7465
    7566LogsPageMessagesToSystemConsoleEnabled:
    7667  type: bool
    7768  defaultValue: false
    78   category: debug
    7969
    8070ForceAlwaysUserScalable:
    8171  type: bool
    8272  defaultValue: false
    83   category: debug
    8473  webcoreBinding: none
    8574  condition: PLATFORM(IOS_FAMILY)
     
    8877  type: bool
    8978  defaultValue: false
    90   category: debug
    9179  condition: ENABLE(RESOURCE_USAGE)
    9280
     
    9482  type: uint32_t
    9583  defaultValue: 0
    96   category: debug
    9784
    9885IsInAppBrowserPrivacyEnabled:
     
    10188  humanReadableName: "In-App Browser Privacy"
    10289  humanReadableDescription: "Enable In-App Browser Privacy"
    103   category: debug
    10490
    10591NeedsInAppBrowserPrivacyQuirks:
     
    10894  humanReadableName: "Needs In-App Browser Privacy Quirks"
    10995  humanReadableDescription: "Enable quirks needed to support In-App Browser privacy"
    110   category: debug
  • trunk/Source/WebKit/Shared/WebPreferencesExperimental.yaml

    r267188 r267194  
    2424# For experimental features:
    2525# The type should be boolean.
    26 # You must provide a humanReadableName and humanReadableDescription for all experimental features. They
    27 #   are the text exposed to the user from the WebKit client.
     26# They must include a humanReadableName and humanReadableDescription. This is
     27#   the text exposed to the user from the WebKit client.
    2828# The default value may be either false (for unstable features) or
    2929#   DEFAULT_EXPERIMENTAL_FEATURES_ENABLED (for features that are ready for
     
    3535  humanReadableName: "Blank anchor target implies rel=noopener"
    3636  humanReadableDescription: "target=_blank on anchor elements implies rel=noopener"
    37   category: experimental
    3837
    3938DisallowSyncXHRDuringPageDismissalEnabled:
     
    4241  humanReadableName: "Disallow sync XHR during page dismissal"
    4342  humanReadableDescription: "Disallow synchronous XMLHttpRequest during page dismissal"
    44   category: experimental
    4543
    4644HTTPSUpgradeEnabled:
     
    4947  humanReadableName: "Automatic HTTPS upgrade"
    5048  humanReadableDescription: "Automatic HTTPS upgrade for known supported sites"
    51   category: experimental
    5249
    5350InProcessCookieCacheEnabled:
     
    5653  humanReadableName: "In-Process Cookie Cache"
    5754  humanReadableDescription: "In-Process DOM Cookie Cache"
    58   category: experimental
    5955
    6056ThirdPartyIframeRedirectBlockingEnabled:
     
    6359  humanReadableName: "Block top-level redirects by third-party iframes"
    6460  humanReadableDescription: "Block top-level redirects by third-party iframes"
    65   category: experimental
    6661
    6762GoogleAntiFlickerOptimizationQuirkEnabled:
     
    7065  humanReadableName: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization"
    7166  humanReadableDescription: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization"
    72   category: experimental
    7367
    7468UserGesturePromisePropagationEnabled:
     
    7872  humanReadableName: "UserGesture Promise Propagation"
    7973  humanReadableDescription: "UserGesture Promise Propagation"
    80   category: experimental
    8174
    8275ModernUnprefixedWebAudioEnabled:
     
    8679  humanReadableName: "Modern WebAudio API"
    8780  humanReadableDescription: "Modern and unprefixed WebAudio API"
    88   category: experimental
    8981
    9082RequestIdleCallbackEnabled:
     
    9385  humanReadableName: "requestIdleCallback"
    9486  humanReadableDescription: "Enable requestIdleCallback support"
    95   category: experimental
    9687
    9788MediaRecorderEnabled:
     
    10192  humanReadableName: "MediaRecorder"
    10293  humanReadableDescription: "MediaRecorder"
    103   category: experimental
    10494
    10595ScreenCaptureEnabled:
     
    10999  humanReadableName: "ScreenCapture"
    110100  humanReadableDescription: "Enable ScreenCapture"
    111   category: experimental
    112101
    113102WebRTCH264LowLatencyEncoderEnabled:
     
    118107  humanReadableName: "WebRTC H264 LowLatency encoder"
    119108  humanReadableDescription: "Enable H264 LowLatency encoder"
    120   category: experimental
    121109
    122110WebRTCH265CodecEnabled:
     
    127115  humanReadableName: "WebRTC H265 codec"
    128116  humanReadableDescription: "Enable WebRTC H265 codec"
    129   category: experimental
    130117
    131118WebRTCVP9CodecEnabled:
     
    136123  humanReadableName: "WebRTC VP9 codec"
    137124  humanReadableDescription: "Enable WebRTC VP9 codec"
    138   category: experimental
    139125
    140126WebRTCPlatformCodecsInGPUProcessEnabled:
     
    145131  humanReadableName: "WebRTC Platform Codecs in GPU Process"
    146132  humanReadableDescription: "Enable WebRTC Platform Codecs in GPU Process"
    147   category: experimental
    148133
    149134ExposeSpeakersEnabled:
     
    152137  humanReadableName: "Allow speaker device selection"
    153138  humanReadableDescription: "Allow speaker device selection"
    154   category: experimental
    155139  condition: ENABLE(WEB_RTC)
    156140
     
    161145  humanReadableName: "VP9 decoder"
    162146  humanReadableDescription: "Enable VP9 decoder"
    163   category: experimental
    164147  condition: ENABLE(VP9)
    165148
     
    170153  humanReadableName: "VP9 SW decoder on battery"
    171154  humanReadableDescription: "Enable VP9 SW decoder on battery"
    172   category: experimental
    173155  condition: ENABLE(VP9)
    174156
     
    179161  humanReadableName: "WebM MSE parser"
    180162  humanReadableDescription: "Enable WebM MSE parser"
    181   category: experimental
    182163  condition: ENABLE(MEDIA_SOURCE) && ENABLE(VP9)
    183164
     
    188169  humanReadableDescription: "Highlight API support"
    189170  webcoreBinding: RuntimeEnabledFeatures
    190   category: experimental
    191171
    192172WebAuthenticationEnabled:
     
    195175  humanReadableName: "Web Authentication"
    196176  humanReadableDescription: "Enable Web Authentication support"
    197   category: experimental
    198177  condition: ENABLE(WEB_AUTHN)
    199178
     
    203182  humanReadableName: "Web Authentication Local Authenticator"
    204183  humanReadableDescription: "Enable Web Authentication local authenticator support"
    205   category: experimental
    206184  condition: ENABLE(WEB_AUTHN)
    207185
     
    212190  humanReadableDescription: "Enable PaintTiming API"
    213191  webcoreBinding: RuntimeEnabledFeatures
    214   category: experimental
    215192
    216193AsyncClipboardAPIEnabled:
     
    219196  humanReadableName: "Async clipboard API"
    220197  humanReadableDescription: "Enable the async clipboard API"
    221   category: experimental
    222198
    223199ShouldDeferAsynchronousScriptsUntilAfterDocumentLoadOrFirstPaint:
     
    226202  humanReadableName: "Defer async scripts until DOMContentLoaded or first-paint"
    227203  humanReadableDescription: "Defer async scripts until DOMContentLoaded or first-paint"
    228   category: experimental
    229204
    230205SpringTimingFunctionEnabled:
     
    233208  humanReadableName: "CSS Spring Animations"
    234209  humanReadableDescription: "CSS Spring Animation prototype"
    235   category: experimental
    236210
    237211ImageBitmapEnabled:
     
    240214  humanReadableName: "ImageBitmap"
    241215  humanReadableDescription: "Support for the ImageBitmap APIs"
    242   category: experimental
    243216  webcoreBinding: RuntimeEnabledFeatures
    244217
     
    248221  humanReadableName: "HTTP/3"
    249222  humanReadableDescription: "Enable HTTP/3"
    250   category: experimental
    251223  webcoreBinding: none
    252224  condition: HAVE(CFNETWORK_ALTERNATIVE_SERVICE)
     
    257229  humanReadableName: "Intersection Observer"
    258230  humanReadableDescription: "Enable Intersection Observer support"
    259   category: experimental
    260231  condition: ENABLE(INTERSECTION_OBSERVER)
    261232
     
    265236  humanReadableName: "Visual Viewport API"
    266237  humanReadableDescription: "Enable Visual Viewport API"
    267   category: experimental
    268238
    269239SyntheticEditingCommandsEnabled:
     
    272242  humanReadableName: "Synthetic Editing Commands"
    273243  humanReadableDescription: "Enable Synthetic Editing Commands"
    274   category: experimental
    275244
    276245CSSOMViewSmoothScrollingEnabled:
     
    279248  humanReadableName: "CSSOM View Smooth Scrolling"
    280249  humanReadableDescription: "Enable DOM API and CSS property for 'smooth' scroll behavior"
    281   category: experimental
    282250
    283251WebAnimationsCompositeOperationsEnabled:
     
    286254  humanReadableName: "Web Animations composite operations"
    287255  humanReadableDescription: "Support for the CompositeOperation enum and properties consuming it"
    288   category: experimental
    289256  webcoreBinding: RuntimeEnabledFeatures
    290257
     
    294261  humanReadableName: "Web Animations mutable timelines"
    295262  humanReadableDescription: "Support for setting the timeline property of an Animation object"
    296   category: experimental
    297263  webcoreBinding: RuntimeEnabledFeatures
    298264
     
    302268  humanReadableName: "WebGL 2.0"
    303269  humanReadableDescription: "WebGL 2 prototype"
    304   category: experimental
    305270  webcoreBinding: RuntimeEnabledFeatures
    306271  condition: ENABLE(WEBGL2)
     
    311276  humanReadableName: "WebGPU"
    312277  humanReadableDescription: "WebGPU Sketch prototype"
    313   category: experimental
    314278  webcoreBinding: RuntimeEnabledFeatures
    315279  condition: ENABLE(WEBGPU)
     
    320284  humanReadableName: "Mask WebGL Strings"
    321285  humanReadableDescription: "Mask WebGL Vendor, Renderer, Shader Language Strings"
    322   category: experimental
    323286  webcoreBinding: RuntimeEnabledFeatures
    324287  condition: ENABLE(WEBGL) || ENABLE(WEBGL2)
     
    329292  humanReadableName: "Accessibility Object Model"
    330293  humanReadableDescription: "Accessibility Object Model support"
    331   category: experimental
    332294  webcoreBinding: RuntimeEnabledFeatures
    333295
     
    337299  humanReadableName: "Server Timing"
    338300  humanReadableDescription: "Enable Server Timing API"
    339   category: experimental
    340301  webcoreBinding: RuntimeEnabledFeatures
    341302  webcoreName: serverTimingEnabled
     
    346307  humanReadableName: "CSS Custom Properties and Values API"
    347308  humanReadableDescription: "Enable CSS Custom Properties and Values API"
    348   category: experimental
    349309
    350310CSSPaintingAPIEnabled:
     
    354314  humanReadableDescription: "Enable the CSS Painting API"
    355315  webcoreBinding: RuntimeEnabledFeatures
    356   category: experimental
    357316  condition: ENABLE(CSS_PAINTING_API)
    358317
     
    363322  humanReadableDescription: "Enable the CSS Typed OM"
    364323  webcoreBinding: RuntimeEnabledFeatures
    365   category: experimental
    366324  condition: ENABLE(CSS_TYPED_OM)
    367325
     
    372330  humanReadableDescription: "Disable Web SQL"
    373331  webcoreBinding: RuntimeEnabledFeatures
    374   category: experimental
    375332
    376333ProcessSwapOnCrossSiteNavigationEnabled:
     
    379336  humanReadableName: "Swap Processes on Cross-Site Navigation"
    380337  humanReadableDescription: "Swap WebContent Processes on cross-site navigations"
    381   category: experimental
    382338  webcoreBinding: none
    383339
     
    387343  humanReadableName: "Media Capabilities Extensions"
    388344  humanReadableDescription: "Media Capabilities Extensions"
    389   category: experimental
    390345
    391346HDRMediaCapabilitiesEnabled:
     
    394349  humanReadableName: "HDR Media Capabilities"
    395350  humanReadableDescription: "HDR Media Capabilities"
    396   category: experimental
    397351
    398352ResizeObserverEnabled:
     
    401355  humanReadableName: "Resize Observer"
    402356  humanReadableDescription: "Enable Resize Observer support"
    403   category: experimental
    404357  condition: ENABLE(RESIZE_OBSERVER)
    405358
     
    409362  humanReadableName: "Ad Click Attribution"
    410363  humanReadableDescription: "Enable Ad Click Attribution for Cross-Site Link Navigations"
    411   category: experimental
    412364
    413365AdClickAttributionDebugModeEnabled:
     
    417369  humanReadableDescription: "Enable Ad Click Attribution Debug Mode"
    418370  webcoreBinding: RuntimeEnabledFeatures
    419   category: experimental
    420371
    421372FetchAPIKeepAliveEnabled:
     
    424375  humanReadableName: "Fetch API Request KeepAlive"
    425376  humanReadableDescription: "Enable Fetch API Request KeepAlive"
    426   category: experimental
    427377  webcoreBinding: RuntimeEnabledFeatures
    428378  webcoreName: fetchAPIKeepAliveEnabled
     
    434384  humanReadableName: "Generic Text Track Cue API"
    435385  humanReadableDescription: "Enable Generic Text Track Cue API"
    436   category: experimental
    437386  webcoreName: genericCueAPIEnabled
    438387
     
    442391  humanReadableName: "Capture video in UI Process"
    443392  humanReadableDescription: "Enable video capture in UI Process"
    444   category: experimental
    445393  webcoreBinding: none
    446394  condition: ENABLE(MEDIA_STREAM)
     
    451399  humanReadableName: "Aspect ratio of <img> from width and height"
    452400  humanReadableDescription: "Map HTML attributes width/height to the default aspect ratio of <img>"
    453   category: experimental
    454401
    455402ReadableByteStreamAPIEnabled:
     
    458405  humanReadableName: "ReadableByteStream"
    459406  humanReadableDescription: "Enable Readable Byte Streams"
    460   category: experimental
    461407  webcoreBinding: RuntimeEnabledFeatures
    462408
     
    466412  humanReadableName: "Referrer Policy attribute"
    467413  humanReadableDescription: "Enable Referrer Policy attribute"
    468   category: experimental
    469414
    470415PageAtRuleSupportEnabled:
     
    473418  humanReadableName: "@page CSS at-rule support"
    474419  humanReadableDescription: "Enable @page support"
    475   category: experimental
    476420  webcoreBinding: RuntimeEnabledFeatures
    477421
     
    481425  humanReadableName: "MathML Core"
    482426  humanReadableDescription: "Disable features removed from the MathML Core spec."
    483   category: experimental
    484427
    485428LinkPrefetchEnabled:
     
    488431  humanReadableName: "LinkPrefetch"
    489432  humanReadableDescription: "Enable LinkedPrefetch"
    490   category: experimental
    491433
    492434LinkPreloadResponsiveImagesEnabled:
     
    495437  humanReadableName: "Link preload responsive images"
    496438  humanReadableDescription: "Enable link preload responsive images"
    497   category: experimental
    498439
    499440IsNSURLSessionWebSocketEnabled:
     
    502443  humanReadableName: "NSURLSession WebSocket"
    503444  humanReadableDescription: "Use NSURLSession WebSocket API"
    504   category: experimental
    505445  webcoreBinding: RuntimeEnabledFeatures
    506446  condition: HAVE(NSURLSESSION_WEBSOCKET)
     
    511451  humanReadableName: "Lazy image loading"
    512452  humanReadableDescription: "Enable lazy image loading support"
    513   category: experimental
    514453
    515454LazyIframeLoadingEnabled:
     
    518457  humanReadableName: "Lazy iframe loading"
    519458  humanReadableDescription: "Enable lazy iframe loading support"
    520   category: experimental
    521459
    522460IsThirdPartyCookieBlockingDisabled:
     
    525463  humanReadableName: "Disable Full 3rd-Party Cookie Blocking (ITP)"
    526464  humanReadableDescription: "Disable full third-party cookie blocking when Intelligent Tracking Prevention is enabled"
    527   category: experimental
    528465
    529466IsFirstPartyWebsiteDataRemovalDisabled:
     
    532469  humanReadableName: "Disable Removal of Non-Cookie Data After 7 Days of No User Interaction (ITP)"
    533470  humanReadableDescription: "Disable removal of all non-cookie website data after seven days of no user interaction when Intelligent Tracking Prevention is enabled"
    534   category: experimental
    535471
    536472IsSameSiteStrictEnforcementEnabled:
     
    539475  humanReadableName: "SameSite strict enforcement (ITP)"
    540476  humanReadableDescription: "Enable SameSite strict enforcement to mitigate bounce tracking"
    541   category: experimental
    542477
    543478IsLoggedInAPIEnabled:
     
    546481  humanReadableName: "IsLoggedIn web API"
    547482  humanReadableDescription: "Enable the proposed IsLoggedIn web API"
    548   category: experimental
    549483
    550484RemotePlaybackEnabled:
     
    554488  humanReadableName: "Remote Playback API"
    555489  humanReadableDescription: "Enable Remote Playback API"
    556   category: experimental
    557490
    558491DialogElementEnabled:
     
    562495  humanReadableDescription: "Enable the Dialog Element"
    563496  webcoreBinding: RuntimeEnabledFeatures
    564   category: experimental
    565497
    566498IsAccessibilityIsolatedTreeEnabled:
     
    570502  humanReadableDescription: "Enable an accessibility hierarchy for VoiceOver that can be accessed on a secondary thread for improved performance"
    571503  webcoreBinding: RuntimeEnabledFeatures
    572   category: experimental
    573504  condition: ENABLE(ACCESSIBILITY_ISOLATED_TREE)
    574505
     
    578509  humanReadableName: "Web Share API Level 2"
    579510  humanReadableDescription: "Enable level 2 of Web Share API"
    580   category: experimental
    581511
    582512IncrementalPDFLoadingEnabled:
     
    585515  humanReadableName: "Incremental PDF Loading"
    586516  humanReadableDescription: "Enable Incremental PDF Loading on supported platforms"
    587   category: experimental
    588517  condition: HAVE(INCREMENTAL_PDF_APIS)
    589518  webcoreBinding: RuntimeEnabledFeatures
     
    594523  humanReadableName: "WebXR Device API"
    595524  humanReadableDescription: "Adds support for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays, on the Web"
    596   category: experimental
    597525  webcoreBinding: RuntimeEnabledFeatures
    598526  condition: ENABLE(WEBXR)
     
    603531  humanReadableName: "WritableStream API"
    604532  humanReadableDescription: "Enable Writable Stream API"
    605   category: experimental
    606533  webcoreBinding: RuntimeEnabledFeatures
    607534
     
    611538  humanReadableName: "TransformStream API"
    612539  humanReadableDescription: "Enable Transform Stream API"
    613   category: experimental
    614540  webcoreBinding: RuntimeEnabledFeatures
    615541
     
    619545  humanReadableName: "CoreImage-Accelerated Filter Rendering"
    620546  humanReadableDescription: "Accelerated CSS and SVG filter rendering using CoreImage"
    621   category: experimental
    622547  condition: ENABLE(CORE_IMAGE_ACCELERATED_FILTER_RENDER)
    623548
     
    628553  humanReadableName: "Disable Media Experience PID Inheritance"
    629554  humanReadableDescription: "Disable Media Experience PID Inheritance"
    630   category: experimental
    631555  condition: HAVE(CELESTIAL)
  • trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml

    r267181 r267194  
    2424# For internal features:
    2525# The type should be boolean.
    26 # You must provide a humanReadableName and humanReadableDescription for all debug features. They
    27 #   are the text exposed to the user from the WebKit client.
     26# They must include a humanReadableName and humanReadableDescription. This is
     27#   the text exposed to the user from the WebKit client.
    2828
    2929PrefixedWebAudioEnabled:
     
    3333  humanReadableName: "Prefixed WebAudio API"
    3434  humanReadableDescription: "Prefixed WebAudio API"
    35   category: internal
    3635
    3736SimpleLineLayoutEnabled:
     
    4039  humanReadableName: "Simple line layout"
    4140  humanReadableDescription: "Enable simple line layout path (SLL)"
    42   category: internal
    4341
    4442WebRTCDTMFEnabled:
     
    4947  humanReadableName: "WebRTC DTMF"
    5048  humanReadableDescription: "Enable WebRTC DTMF"
    51   category: internal
    5249
    5350WebRTCH264SimulcastEnabled:
     
    5855  humanReadableName: "WebRTC H264 Simulcast"
    5956  humanReadableDescription: "Enable WebRTC H264 Simulcast"
    60   category: internal
    6157
    6258WebRTCMDNSICECandidatesEnabled:
     
    6662  humanReadableDescription: "Enable WebRTC mDNS ICE candidates"
    6763  webcoreBinding: RuntimeEnabledFeatures
    68   category: internal
    6964  condition: ENABLE(WEB_RTC)
    7065
     
    7570  humanReadableName: "Frame flattening"
    7671  humanReadableDescription: "Enable frame flattening, which adjusts the height of an iframe to fit its contents"
    77   category: internal
    7872
    7973KeygenElementEnabled:
     
    8377  humanReadableName: "HTMLKeygenElement"
    8478  humanReadableDescription: "Enables the deprecated and disabled-by-default HTML keygen element."
    85   category: internal
    8679
    8780OffscreenCanvasEnabled:
     
    9083  humanReadableName: "OffscreenCanvas"
    9184  humanReadableDescription: "Support for the OffscreenCanvas APIs"
    92   category: internal
    9385  webcoreBinding: RuntimeEnabledFeatures
    9486  condition: ENABLE(OFFSCREEN_CANVAS)
     
    9991  humanReadableName: "CSSOM View Scrolling API"
    10092  humanReadableDescription: "Implement standard behavior for scrollLeft, scrollTop, scrollWidth, scrollHeight, scrollTo, scrollBy and scrollingElement."
    101   category: internal
    10293
    10394BlockingOfSmallPluginsEnabled:
     
    10697  humanReadableName: "Block small plugins"
    10798  humanReadableDescription: "Stop plugins smaller than a certain threshold from loading."
    108   category: internal
    10999
    110100CaptureVideoInGPUProcessEnabled:
     
    113103  humanReadableName: "Capture video in GPU Process"
    114104  humanReadableDescription: "Enable video capture in GPU Process"
    115   category: internal
    116105  webcoreBinding: none
    117106  condition: ENABLE(MEDIA_STREAM)
     
    122111  humanReadableName: "Sandbox Plug-Ins"
    123112  humanReadableDescription: "Enable Plug-In sandboxing"
    124   category: internal
    125113  webcoreBinding: RuntimeEnabledFeatures
    126114  webcoreName: experimentalPlugInSandboxProfilesEnabled
     
    132120  humanReadableDescription: "Enable Intelligent Tracking Prevention Database Backend"
    133121  webcoreBinding: RuntimeEnabledFeatures
    134   category: internal
    135122
    136123ServiceWorkersEnabled:
     
    139126  humanReadableName: "Service Workers"
    140127  humanReadableDescription: "Enable Service Workers"
    141   category: internal
    142128  webcoreBinding: RuntimeEnabledFeatures
    143129  webcoreName: serviceWorkerEnabled
     
    149135  humanReadableName: "Async Frame Scrolling"
    150136  humanReadableDescription: "Perform frame scrolling off the main thread"
    151   category: internal
    152137
    153138AsyncOverflowScrollingEnabled:
     
    156141  humanReadableName: "Async Overflow Scrolling"
    157142  humanReadableDescription: "Perform overflow scrolling off the main thread"
    158   category: internal
    159143
    160144LegacyOverflowScrollingTouchEnabled:
     
    164148  humanReadableDescription: "Support the legacy -webkit-overflow-scrolling CSS property"
    165149  condition: ENABLE(OVERFLOW_SCROLLING_TOUCH)
    166   category: internal
    167150
    168151FullScreenEnabled:
     
    173156  humanReadableName: "Fullscreen API"
    174157  humanReadableDescription: "Fullscreen API"
    175   category: internal
    176158
    177159AriaReflectionEnabled:
     
    180162  humanReadableName: "ARIA Reflection"
    181163  humanReadableDescription: "ARIA Reflection support"
    182   category: internal
    183164  webcoreBinding: RuntimeEnabledFeatures
    184165
     
    189170  humanReadableDescription: "Enable Web API Statistics"
    190171  webcoreBinding: RuntimeEnabledFeatures
    191   category: internal
    192172
    193173SecureContextChecksEnabled:
     
    197177  humanReadableDescription: "Allow access to HTTPS-only Web APIs over HTTP"
    198178  webcoreBinding: RuntimeEnabledFeatures
    199   category: internal
    200179
    201180SelectionAcrossShadowBoundariesEnabled:
     
    204183  humanReadableName: "Selection across shadow DOM"
    205184  humanReadableDescription: "Allow user-initiated selection across shadow DOM boundaries"
    206   category: internal
    207185  webcoreName: selectionAcrossShadowBoundariesEnabled
    208186
     
    214192  humanReadableDescription: "Support faster clicks on zoomable pages"
    215193  webcoreBinding: none
    216   category: internal
    217194
    218195PreferFasterClickOverDoubleTap:
     
    223200  humanReadableDescription: "Prefer a faster click over a double tap"
    224201  webcoreBinding: none
    225   category: internal
    226202
    227203ZoomOnDoubleTapWhenRoot:
     
    232208  humanReadableDescription: "Double taps zoom, even if we dispatched a click on the root nodes"
    233209  webcoreBinding: none
    234   category: internal
    235210
    236211AlwaysZoomOnDoubleTap:
     
    241216  humanReadableDescription: "Double taps zoom, even if we dispatched a click anywhere"
    242217  webcoreBinding: none
    243   category: internal
    244218
    245219InputTypeColorEnabled:
     
    248222  humanReadableName: "Color Inputs"
    249223  humanReadableDescription: "Enable input elements of type color"
    250   category: internal
    251224  condition: ENABLE(INPUT_TYPE_COLOR)
    252225
     
    256229  humanReadableName: "Date Input"
    257230  humanReadableDescription: "Enable input elements of type date"
    258   category: internal
    259231  condition: ENABLE(INPUT_TYPE_DATE)
    260232
     
    264236  humanReadableName: "datetime-local Inputs"
    265237  humanReadableDescription: "Enable input elements of type datetime-local"
    266   category: internal
    267238  condition: ENABLE(INPUT_TYPE_DATETIMELOCAL)
    268239
     
    272243  humanReadableName: "Month Input"
    273244  humanReadableDescription: "Enable input elements of type month"
    274   category: internal
    275245  condition: ENABLE(INPUT_TYPE_MONTH)
    276246
     
    280250  humanReadableName: "Time Input"
    281251  humanReadableDescription: "Enable input elements of type time"
    282   category: internal
    283252  condition: ENABLE(INPUT_TYPE_TIME)
    284253
     
    288257  humanReadableName: "Week Input"
    289258  humanReadableDescription: "Enable input elements of type week"
    290   category: internal
    291259  condition: ENABLE(INPUT_TYPE_WEEK)
    292260
     
    296264  humanReadableName: "Date/Time inputs have editable components"
    297265  humanReadableDescription: "Enable multiple editable components in date/time inputs"
    298   category: internal
    299266  webcoreName: dateTimeInputsEditableComponentsEnabled
    300267  condition: ENABLE(DATE_AND_TIME_INPUT_TYPES)
     
    305272  humanReadableName: "DataList Element"
    306273  humanReadableDescription: "Enable datalist elements"
    307   category: internal
    308274  webcoreBinding: RuntimeEnabledFeatures
    309275  condition: ENABLE(DATALIST_ELEMENT)
     
    314280  humanReadableName: "Full next-generation layout (LFC)"
    315281  humanReadableDescription: "Enable full next-generation layout (LFC)"
    316   category: internal
    317282  webcoreBinding: RuntimeEnabledFeatures
    318283  condition: ENABLE(LAYOUT_FORMATTING_CONTEXT)
     
    323288  humanReadableName: "Next-generation line layout integration (LFC)"
    324289  humanReadableDescription: "Enable next-generation line layout integration (LFC)"
    325   category: internal
    326290  webcoreBinding: RuntimeEnabledFeatures
    327291  condition: ENABLE(LAYOUT_FORMATTING_CONTEXT)
     
    332296  humanReadableName: "Capture audio in UI Process"
    333297  humanReadableDescription: "Enable audio capture in UI Process"
    334   category: internal
    335298  webcoreBinding: none
    336299  condition: ENABLE(MEDIA_STREAM)
     
    341304  humanReadableName: "Capture audio in GPU Process"
    342305  humanReadableDescription: "Enable audio capture in GPU Process"
    343   category: internal
    344306  webcoreBinding: none
    345307  condition: ENABLE(MEDIA_STREAM)
     
    350312  humanReadableName: "Render canvas in GPU Process"
    351313  humanReadableDescription: "Enable canvas rendering in GPU Process"
    352   category: internal
    353314  webcoreBinding: none
    354315
     
    358319  humanReadableName: "Filter HTTP Response for Web Processes"
    359320  humanReadableDescription: "Enable HTTP Response filtering for Web Processes"
    360   category: internal
    361321  webcoreBinding: RuntimeEnabledFeatures
    362322
     
    366326  humanReadableName: "UndoManager DOM API"
    367327  humanReadableDescription: "Enable the UndoManager DOM API"
    368   category: internal
    369328
    370329CSSLogicalEnabled:
     
    374333  humanReadableDescription: "Enable CSS Logical Properties and Values"
    375334  webcoreBinding: RuntimeEnabledFeatures
    376   category: internal
    377335
    378336LineHeightUnitsEnabled:
     
    382340  humanReadableDescription: "Enable the lh and lhr units"
    383341  webcoreBinding: RuntimeEnabledFeatures
    384   category: internal
    385342
    386343DOMPasteAccessRequestsEnabled:
     
    389346  humanReadableName: "DOM Paste Access Requests"
    390347  humanReadableDescription: "Enable DOM Paste Access Requests"
    391   category: internal
    392348
    393349MouseEventsSimulationEnabled:
     
    397353  humanReadableDescription: "Enable mouse events dispatch along with touch events on iOS"
    398354  webcoreBinding: RuntimeEnabledFeatures
    399   category: internal
    400355  condition: ENABLE(TOUCH_EVENTS)
    401356
     
    405360  humanReadableName: "Idempotent Text Autosizing"
    406361  humanReadableDescription: "Use idempotent text autosizing mode"
    407   category: internal
    408362  condition: ENABLE(TEXT_AUTOSIZING)
    409363
     
    413367  humanReadableName: "Allow Viewport Shrink to Fit Content"
    414368  humanReadableDescription: "Allow the viewport shrink to fit content heuristic when appropriate"
    415   category: internal
    416369  condition: PLATFORM(IOS_FAMILY)
    417370
     
    421374  humanReadableName: "Enter Key Hint"
    422375  humanReadableDescription: "Enable the enterKeyHint HTML attribute"
    423   category: internal
    424376
    425377ApplePayRemoteUIEnabled:
    426   category: internal
    427378  condition: ENABLE(APPLE_PAY_REMOTE_UI)
    428379  defaultValue: true
     
    436387  humanReadableName: "[ITP Live-On] 1 Hour Timeout For Non-Cookie Data Removal"
    437388  humanReadableDescription: "Remove all non-cookie website data after just one hour of no user interaction when Intelligent Tracking Prevention is enabled"
    438   category: internal
    439389
    440390IsFirstPartyWebsiteDataRemovalReproTestingEnabled:
     
    443393  humanReadableName: "[ITP Repro] 30 Second Timeout For Non-Cookie Data Removal"
    444394  humanReadableDescription: "Remove all non-cookie website data after just 30 seconds of no user interaction when Intelligent Tracking Prevention is enabled"
    445   category: internal
    446395
    447396UseGPUProcessForMedia:
     
    451400  humanReadableName: "Media in GPU Process"
    452401  humanReadableDescription: "Do all media loading and playback in the GPU Process"
    453   category: internal
    454402  webcoreName: useGPUProcessForMedia
Note: See TracChangeset for help on using the changeset viewer.