Changeset 267194 in webkit
- Timestamp:
- Sep 17, 2020, 9:17:40 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r267188 r267194 1 2020-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 1 16 2020-09-17 Antoine Quint <graouts@webkit.org> 2 17 -
trunk/Source/WebKit/Scripts/GeneratePreferences.rb
r267181 r267194 1 1 #!/usr/bin/env ruby 2 2 # 3 # Copyright (c) 2017 Apple Inc. All rights reserved.3 # Copyright (c) 2017, 2020 Apple Inc. All rights reserved. 4 4 # 5 5 # Redistribution and use in source and binary forms, with or without … … 96 96 attr_accessor :humanReadableName 97 97 attr_accessor :humanReadableDescription 98 attr_accessor :category99 98 attr_accessor :webcoreBinding 100 99 attr_accessor :condition … … 107 106 @humanReadableName = '"' + (opts["humanReadableName"] || "") + '"' 108 107 @humanReadableDescription = '"' + (opts["humanReadableDescription"] || "") + '"' 109 @category = opts["category"]110 108 @getter = opts["getter"] 111 109 @webcoreBinding = opts["webcoreBinding"] … … 164 162 165 163 @preferences = [] 164 @preferencesNotDebug = [] 165 @preferencesDebug = [] 166 @experimentalFeatures = [] 167 @internalDebugFeatures = [] 168 166 169 parsedBasePreferences.each do |name, options| 167 @preferences << Preference.new(name, options) 170 preference = Preference.new(name, options) 171 @preferences << preference 172 @preferencesNotDebug << preference 168 173 end 169 174 parsedDebugPreferences.each do |name, options| 170 @preferences << Preference.new(name, options) 175 preference = Preference.new(name, options) 176 @preferences << preference 177 @preferencesDebug << preference 171 178 end 172 179 parsedExperimentalPreferences.each do |name, options| 173 @preferences << Preference.new(name, options) 180 preference = Preference.new(name, options) 181 @preferences << preference 182 @experimentalFeatures << preference 174 183 end 175 184 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 178 190 @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 } 184 195 185 196 @preferencesBoundToSetting = @preferences.select { |p| !p.webcoreBinding } -
trunk/Source/WebKit/Shared/WebPreferencesDebug.yaml
r267181 r267194 27 27 type: bool 28 28 defaultValue: true 29 category: debug30 29 31 30 SubpixelAntialiasedLayerTextEnabled: 32 31 type: bool 33 32 defaultValue: DEFAULT_SUBPIXEL_ANTIALIASED_LAYER_TEXT_ENABLED 34 category: debug35 33 36 34 DisplayListDrawingEnabled: 37 35 type: bool 38 36 defaultValue: false 39 category: debug40 37 41 38 CompositingBordersVisible: 42 39 type: bool 43 40 defaultValue: false 44 category: debug45 41 webcoreName: showDebugBorders 46 42 … … 48 44 type: bool 49 45 defaultValue: false 50 category: debug51 46 webcoreName: showRepaintCounter 52 47 … … 54 49 type: bool 55 50 defaultValue: false 56 category: debug57 51 webcoreName: showTiledScrollingIndicator 58 52 … … 60 54 type: bool 61 55 defaultValue: false 62 category: debug63 56 condition: PLATFORM(IOS_FAMILY) 64 57 … … 66 59 type: bool 67 60 defaultValue: false 68 category: debug69 61 70 62 DeveloperExtrasEnabled: 71 63 type: bool 72 64 defaultValue: false 73 category: debug74 65 75 66 LogsPageMessagesToSystemConsoleEnabled: 76 67 type: bool 77 68 defaultValue: false 78 category: debug79 69 80 70 ForceAlwaysUserScalable: 81 71 type: bool 82 72 defaultValue: false 83 category: debug84 73 webcoreBinding: none 85 74 condition: PLATFORM(IOS_FAMILY) … … 88 77 type: bool 89 78 defaultValue: false 90 category: debug91 79 condition: ENABLE(RESOURCE_USAGE) 92 80 … … 94 82 type: uint32_t 95 83 defaultValue: 0 96 category: debug97 84 98 85 IsInAppBrowserPrivacyEnabled: … … 101 88 humanReadableName: "In-App Browser Privacy" 102 89 humanReadableDescription: "Enable In-App Browser Privacy" 103 category: debug104 90 105 91 NeedsInAppBrowserPrivacyQuirks: … … 108 94 humanReadableName: "Needs In-App Browser Privacy Quirks" 109 95 humanReadableDescription: "Enable quirks needed to support In-App Browser privacy" 110 category: debug -
trunk/Source/WebKit/Shared/WebPreferencesExperimental.yaml
r267188 r267194 24 24 # For experimental features: 25 25 # The type should be boolean. 26 # You must provide a humanReadableName and humanReadableDescription for all experimental features. They27 # arethe 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. 28 28 # The default value may be either false (for unstable features) or 29 29 # DEFAULT_EXPERIMENTAL_FEATURES_ENABLED (for features that are ready for … … 35 35 humanReadableName: "Blank anchor target implies rel=noopener" 36 36 humanReadableDescription: "target=_blank on anchor elements implies rel=noopener" 37 category: experimental38 37 39 38 DisallowSyncXHRDuringPageDismissalEnabled: … … 42 41 humanReadableName: "Disallow sync XHR during page dismissal" 43 42 humanReadableDescription: "Disallow synchronous XMLHttpRequest during page dismissal" 44 category: experimental45 43 46 44 HTTPSUpgradeEnabled: … … 49 47 humanReadableName: "Automatic HTTPS upgrade" 50 48 humanReadableDescription: "Automatic HTTPS upgrade for known supported sites" 51 category: experimental52 49 53 50 InProcessCookieCacheEnabled: … … 56 53 humanReadableName: "In-Process Cookie Cache" 57 54 humanReadableDescription: "In-Process DOM Cookie Cache" 58 category: experimental59 55 60 56 ThirdPartyIframeRedirectBlockingEnabled: … … 63 59 humanReadableName: "Block top-level redirects by third-party iframes" 64 60 humanReadableDescription: "Block top-level redirects by third-party iframes" 65 category: experimental66 61 67 62 GoogleAntiFlickerOptimizationQuirkEnabled: … … 70 65 humanReadableName: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization" 71 66 humanReadableDescription: "Quirk to prevent delayed initial painting on sites using Google's Anti-Flicker optimization" 72 category: experimental73 67 74 68 UserGesturePromisePropagationEnabled: … … 78 72 humanReadableName: "UserGesture Promise Propagation" 79 73 humanReadableDescription: "UserGesture Promise Propagation" 80 category: experimental81 74 82 75 ModernUnprefixedWebAudioEnabled: … … 86 79 humanReadableName: "Modern WebAudio API" 87 80 humanReadableDescription: "Modern and unprefixed WebAudio API" 88 category: experimental89 81 90 82 RequestIdleCallbackEnabled: … … 93 85 humanReadableName: "requestIdleCallback" 94 86 humanReadableDescription: "Enable requestIdleCallback support" 95 category: experimental96 87 97 88 MediaRecorderEnabled: … … 101 92 humanReadableName: "MediaRecorder" 102 93 humanReadableDescription: "MediaRecorder" 103 category: experimental104 94 105 95 ScreenCaptureEnabled: … … 109 99 humanReadableName: "ScreenCapture" 110 100 humanReadableDescription: "Enable ScreenCapture" 111 category: experimental112 101 113 102 WebRTCH264LowLatencyEncoderEnabled: … … 118 107 humanReadableName: "WebRTC H264 LowLatency encoder" 119 108 humanReadableDescription: "Enable H264 LowLatency encoder" 120 category: experimental121 109 122 110 WebRTCH265CodecEnabled: … … 127 115 humanReadableName: "WebRTC H265 codec" 128 116 humanReadableDescription: "Enable WebRTC H265 codec" 129 category: experimental130 117 131 118 WebRTCVP9CodecEnabled: … … 136 123 humanReadableName: "WebRTC VP9 codec" 137 124 humanReadableDescription: "Enable WebRTC VP9 codec" 138 category: experimental139 125 140 126 WebRTCPlatformCodecsInGPUProcessEnabled: … … 145 131 humanReadableName: "WebRTC Platform Codecs in GPU Process" 146 132 humanReadableDescription: "Enable WebRTC Platform Codecs in GPU Process" 147 category: experimental148 133 149 134 ExposeSpeakersEnabled: … … 152 137 humanReadableName: "Allow speaker device selection" 153 138 humanReadableDescription: "Allow speaker device selection" 154 category: experimental155 139 condition: ENABLE(WEB_RTC) 156 140 … … 161 145 humanReadableName: "VP9 decoder" 162 146 humanReadableDescription: "Enable VP9 decoder" 163 category: experimental164 147 condition: ENABLE(VP9) 165 148 … … 170 153 humanReadableName: "VP9 SW decoder on battery" 171 154 humanReadableDescription: "Enable VP9 SW decoder on battery" 172 category: experimental173 155 condition: ENABLE(VP9) 174 156 … … 179 161 humanReadableName: "WebM MSE parser" 180 162 humanReadableDescription: "Enable WebM MSE parser" 181 category: experimental182 163 condition: ENABLE(MEDIA_SOURCE) && ENABLE(VP9) 183 164 … … 188 169 humanReadableDescription: "Highlight API support" 189 170 webcoreBinding: RuntimeEnabledFeatures 190 category: experimental191 171 192 172 WebAuthenticationEnabled: … … 195 175 humanReadableName: "Web Authentication" 196 176 humanReadableDescription: "Enable Web Authentication support" 197 category: experimental198 177 condition: ENABLE(WEB_AUTHN) 199 178 … … 203 182 humanReadableName: "Web Authentication Local Authenticator" 204 183 humanReadableDescription: "Enable Web Authentication local authenticator support" 205 category: experimental206 184 condition: ENABLE(WEB_AUTHN) 207 185 … … 212 190 humanReadableDescription: "Enable PaintTiming API" 213 191 webcoreBinding: RuntimeEnabledFeatures 214 category: experimental215 192 216 193 AsyncClipboardAPIEnabled: … … 219 196 humanReadableName: "Async clipboard API" 220 197 humanReadableDescription: "Enable the async clipboard API" 221 category: experimental222 198 223 199 ShouldDeferAsynchronousScriptsUntilAfterDocumentLoadOrFirstPaint: … … 226 202 humanReadableName: "Defer async scripts until DOMContentLoaded or first-paint" 227 203 humanReadableDescription: "Defer async scripts until DOMContentLoaded or first-paint" 228 category: experimental229 204 230 205 SpringTimingFunctionEnabled: … … 233 208 humanReadableName: "CSS Spring Animations" 234 209 humanReadableDescription: "CSS Spring Animation prototype" 235 category: experimental236 210 237 211 ImageBitmapEnabled: … … 240 214 humanReadableName: "ImageBitmap" 241 215 humanReadableDescription: "Support for the ImageBitmap APIs" 242 category: experimental243 216 webcoreBinding: RuntimeEnabledFeatures 244 217 … … 248 221 humanReadableName: "HTTP/3" 249 222 humanReadableDescription: "Enable HTTP/3" 250 category: experimental251 223 webcoreBinding: none 252 224 condition: HAVE(CFNETWORK_ALTERNATIVE_SERVICE) … … 257 229 humanReadableName: "Intersection Observer" 258 230 humanReadableDescription: "Enable Intersection Observer support" 259 category: experimental260 231 condition: ENABLE(INTERSECTION_OBSERVER) 261 232 … … 265 236 humanReadableName: "Visual Viewport API" 266 237 humanReadableDescription: "Enable Visual Viewport API" 267 category: experimental268 238 269 239 SyntheticEditingCommandsEnabled: … … 272 242 humanReadableName: "Synthetic Editing Commands" 273 243 humanReadableDescription: "Enable Synthetic Editing Commands" 274 category: experimental275 244 276 245 CSSOMViewSmoothScrollingEnabled: … … 279 248 humanReadableName: "CSSOM View Smooth Scrolling" 280 249 humanReadableDescription: "Enable DOM API and CSS property for 'smooth' scroll behavior" 281 category: experimental282 250 283 251 WebAnimationsCompositeOperationsEnabled: … … 286 254 humanReadableName: "Web Animations composite operations" 287 255 humanReadableDescription: "Support for the CompositeOperation enum and properties consuming it" 288 category: experimental289 256 webcoreBinding: RuntimeEnabledFeatures 290 257 … … 294 261 humanReadableName: "Web Animations mutable timelines" 295 262 humanReadableDescription: "Support for setting the timeline property of an Animation object" 296 category: experimental297 263 webcoreBinding: RuntimeEnabledFeatures 298 264 … … 302 268 humanReadableName: "WebGL 2.0" 303 269 humanReadableDescription: "WebGL 2 prototype" 304 category: experimental305 270 webcoreBinding: RuntimeEnabledFeatures 306 271 condition: ENABLE(WEBGL2) … … 311 276 humanReadableName: "WebGPU" 312 277 humanReadableDescription: "WebGPU Sketch prototype" 313 category: experimental314 278 webcoreBinding: RuntimeEnabledFeatures 315 279 condition: ENABLE(WEBGPU) … … 320 284 humanReadableName: "Mask WebGL Strings" 321 285 humanReadableDescription: "Mask WebGL Vendor, Renderer, Shader Language Strings" 322 category: experimental323 286 webcoreBinding: RuntimeEnabledFeatures 324 287 condition: ENABLE(WEBGL) || ENABLE(WEBGL2) … … 329 292 humanReadableName: "Accessibility Object Model" 330 293 humanReadableDescription: "Accessibility Object Model support" 331 category: experimental332 294 webcoreBinding: RuntimeEnabledFeatures 333 295 … … 337 299 humanReadableName: "Server Timing" 338 300 humanReadableDescription: "Enable Server Timing API" 339 category: experimental340 301 webcoreBinding: RuntimeEnabledFeatures 341 302 webcoreName: serverTimingEnabled … … 346 307 humanReadableName: "CSS Custom Properties and Values API" 347 308 humanReadableDescription: "Enable CSS Custom Properties and Values API" 348 category: experimental349 309 350 310 CSSPaintingAPIEnabled: … … 354 314 humanReadableDescription: "Enable the CSS Painting API" 355 315 webcoreBinding: RuntimeEnabledFeatures 356 category: experimental357 316 condition: ENABLE(CSS_PAINTING_API) 358 317 … … 363 322 humanReadableDescription: "Enable the CSS Typed OM" 364 323 webcoreBinding: RuntimeEnabledFeatures 365 category: experimental366 324 condition: ENABLE(CSS_TYPED_OM) 367 325 … … 372 330 humanReadableDescription: "Disable Web SQL" 373 331 webcoreBinding: RuntimeEnabledFeatures 374 category: experimental375 332 376 333 ProcessSwapOnCrossSiteNavigationEnabled: … … 379 336 humanReadableName: "Swap Processes on Cross-Site Navigation" 380 337 humanReadableDescription: "Swap WebContent Processes on cross-site navigations" 381 category: experimental382 338 webcoreBinding: none 383 339 … … 387 343 humanReadableName: "Media Capabilities Extensions" 388 344 humanReadableDescription: "Media Capabilities Extensions" 389 category: experimental390 345 391 346 HDRMediaCapabilitiesEnabled: … … 394 349 humanReadableName: "HDR Media Capabilities" 395 350 humanReadableDescription: "HDR Media Capabilities" 396 category: experimental397 351 398 352 ResizeObserverEnabled: … … 401 355 humanReadableName: "Resize Observer" 402 356 humanReadableDescription: "Enable Resize Observer support" 403 category: experimental404 357 condition: ENABLE(RESIZE_OBSERVER) 405 358 … … 409 362 humanReadableName: "Ad Click Attribution" 410 363 humanReadableDescription: "Enable Ad Click Attribution for Cross-Site Link Navigations" 411 category: experimental412 364 413 365 AdClickAttributionDebugModeEnabled: … … 417 369 humanReadableDescription: "Enable Ad Click Attribution Debug Mode" 418 370 webcoreBinding: RuntimeEnabledFeatures 419 category: experimental420 371 421 372 FetchAPIKeepAliveEnabled: … … 424 375 humanReadableName: "Fetch API Request KeepAlive" 425 376 humanReadableDescription: "Enable Fetch API Request KeepAlive" 426 category: experimental427 377 webcoreBinding: RuntimeEnabledFeatures 428 378 webcoreName: fetchAPIKeepAliveEnabled … … 434 384 humanReadableName: "Generic Text Track Cue API" 435 385 humanReadableDescription: "Enable Generic Text Track Cue API" 436 category: experimental437 386 webcoreName: genericCueAPIEnabled 438 387 … … 442 391 humanReadableName: "Capture video in UI Process" 443 392 humanReadableDescription: "Enable video capture in UI Process" 444 category: experimental445 393 webcoreBinding: none 446 394 condition: ENABLE(MEDIA_STREAM) … … 451 399 humanReadableName: "Aspect ratio of <img> from width and height" 452 400 humanReadableDescription: "Map HTML attributes width/height to the default aspect ratio of <img>" 453 category: experimental454 401 455 402 ReadableByteStreamAPIEnabled: … … 458 405 humanReadableName: "ReadableByteStream" 459 406 humanReadableDescription: "Enable Readable Byte Streams" 460 category: experimental461 407 webcoreBinding: RuntimeEnabledFeatures 462 408 … … 466 412 humanReadableName: "Referrer Policy attribute" 467 413 humanReadableDescription: "Enable Referrer Policy attribute" 468 category: experimental469 414 470 415 PageAtRuleSupportEnabled: … … 473 418 humanReadableName: "@page CSS at-rule support" 474 419 humanReadableDescription: "Enable @page support" 475 category: experimental476 420 webcoreBinding: RuntimeEnabledFeatures 477 421 … … 481 425 humanReadableName: "MathML Core" 482 426 humanReadableDescription: "Disable features removed from the MathML Core spec." 483 category: experimental484 427 485 428 LinkPrefetchEnabled: … … 488 431 humanReadableName: "LinkPrefetch" 489 432 humanReadableDescription: "Enable LinkedPrefetch" 490 category: experimental491 433 492 434 LinkPreloadResponsiveImagesEnabled: … … 495 437 humanReadableName: "Link preload responsive images" 496 438 humanReadableDescription: "Enable link preload responsive images" 497 category: experimental498 439 499 440 IsNSURLSessionWebSocketEnabled: … … 502 443 humanReadableName: "NSURLSession WebSocket" 503 444 humanReadableDescription: "Use NSURLSession WebSocket API" 504 category: experimental505 445 webcoreBinding: RuntimeEnabledFeatures 506 446 condition: HAVE(NSURLSESSION_WEBSOCKET) … … 511 451 humanReadableName: "Lazy image loading" 512 452 humanReadableDescription: "Enable lazy image loading support" 513 category: experimental514 453 515 454 LazyIframeLoadingEnabled: … … 518 457 humanReadableName: "Lazy iframe loading" 519 458 humanReadableDescription: "Enable lazy iframe loading support" 520 category: experimental521 459 522 460 IsThirdPartyCookieBlockingDisabled: … … 525 463 humanReadableName: "Disable Full 3rd-Party Cookie Blocking (ITP)" 526 464 humanReadableDescription: "Disable full third-party cookie blocking when Intelligent Tracking Prevention is enabled" 527 category: experimental528 465 529 466 IsFirstPartyWebsiteDataRemovalDisabled: … … 532 469 humanReadableName: "Disable Removal of Non-Cookie Data After 7 Days of No User Interaction (ITP)" 533 470 humanReadableDescription: "Disable removal of all non-cookie website data after seven days of no user interaction when Intelligent Tracking Prevention is enabled" 534 category: experimental535 471 536 472 IsSameSiteStrictEnforcementEnabled: … … 539 475 humanReadableName: "SameSite strict enforcement (ITP)" 540 476 humanReadableDescription: "Enable SameSite strict enforcement to mitigate bounce tracking" 541 category: experimental542 477 543 478 IsLoggedInAPIEnabled: … … 546 481 humanReadableName: "IsLoggedIn web API" 547 482 humanReadableDescription: "Enable the proposed IsLoggedIn web API" 548 category: experimental549 483 550 484 RemotePlaybackEnabled: … … 554 488 humanReadableName: "Remote Playback API" 555 489 humanReadableDescription: "Enable Remote Playback API" 556 category: experimental557 490 558 491 DialogElementEnabled: … … 562 495 humanReadableDescription: "Enable the Dialog Element" 563 496 webcoreBinding: RuntimeEnabledFeatures 564 category: experimental565 497 566 498 IsAccessibilityIsolatedTreeEnabled: … … 570 502 humanReadableDescription: "Enable an accessibility hierarchy for VoiceOver that can be accessed on a secondary thread for improved performance" 571 503 webcoreBinding: RuntimeEnabledFeatures 572 category: experimental573 504 condition: ENABLE(ACCESSIBILITY_ISOLATED_TREE) 574 505 … … 578 509 humanReadableName: "Web Share API Level 2" 579 510 humanReadableDescription: "Enable level 2 of Web Share API" 580 category: experimental581 511 582 512 IncrementalPDFLoadingEnabled: … … 585 515 humanReadableName: "Incremental PDF Loading" 586 516 humanReadableDescription: "Enable Incremental PDF Loading on supported platforms" 587 category: experimental588 517 condition: HAVE(INCREMENTAL_PDF_APIS) 589 518 webcoreBinding: RuntimeEnabledFeatures … … 594 523 humanReadableName: "WebXR Device API" 595 524 humanReadableDescription: "Adds support for accessing virtual reality (VR) and augmented reality (AR) devices, including sensors and head-mounted displays, on the Web" 596 category: experimental597 525 webcoreBinding: RuntimeEnabledFeatures 598 526 condition: ENABLE(WEBXR) … … 603 531 humanReadableName: "WritableStream API" 604 532 humanReadableDescription: "Enable Writable Stream API" 605 category: experimental606 533 webcoreBinding: RuntimeEnabledFeatures 607 534 … … 611 538 humanReadableName: "TransformStream API" 612 539 humanReadableDescription: "Enable Transform Stream API" 613 category: experimental614 540 webcoreBinding: RuntimeEnabledFeatures 615 541 … … 619 545 humanReadableName: "CoreImage-Accelerated Filter Rendering" 620 546 humanReadableDescription: "Accelerated CSS and SVG filter rendering using CoreImage" 621 category: experimental622 547 condition: ENABLE(CORE_IMAGE_ACCELERATED_FILTER_RENDER) 623 548 … … 628 553 humanReadableName: "Disable Media Experience PID Inheritance" 629 554 humanReadableDescription: "Disable Media Experience PID Inheritance" 630 category: experimental631 555 condition: HAVE(CELESTIAL) -
trunk/Source/WebKit/Shared/WebPreferencesInternal.yaml
r267181 r267194 24 24 # For internal features: 25 25 # The type should be boolean. 26 # You must provide a humanReadableName and humanReadableDescription for all debug features. They27 # arethe 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. 28 28 29 29 PrefixedWebAudioEnabled: … … 33 33 humanReadableName: "Prefixed WebAudio API" 34 34 humanReadableDescription: "Prefixed WebAudio API" 35 category: internal36 35 37 36 SimpleLineLayoutEnabled: … … 40 39 humanReadableName: "Simple line layout" 41 40 humanReadableDescription: "Enable simple line layout path (SLL)" 42 category: internal43 41 44 42 WebRTCDTMFEnabled: … … 49 47 humanReadableName: "WebRTC DTMF" 50 48 humanReadableDescription: "Enable WebRTC DTMF" 51 category: internal52 49 53 50 WebRTCH264SimulcastEnabled: … … 58 55 humanReadableName: "WebRTC H264 Simulcast" 59 56 humanReadableDescription: "Enable WebRTC H264 Simulcast" 60 category: internal61 57 62 58 WebRTCMDNSICECandidatesEnabled: … … 66 62 humanReadableDescription: "Enable WebRTC mDNS ICE candidates" 67 63 webcoreBinding: RuntimeEnabledFeatures 68 category: internal69 64 condition: ENABLE(WEB_RTC) 70 65 … … 75 70 humanReadableName: "Frame flattening" 76 71 humanReadableDescription: "Enable frame flattening, which adjusts the height of an iframe to fit its contents" 77 category: internal78 72 79 73 KeygenElementEnabled: … … 83 77 humanReadableName: "HTMLKeygenElement" 84 78 humanReadableDescription: "Enables the deprecated and disabled-by-default HTML keygen element." 85 category: internal86 79 87 80 OffscreenCanvasEnabled: … … 90 83 humanReadableName: "OffscreenCanvas" 91 84 humanReadableDescription: "Support for the OffscreenCanvas APIs" 92 category: internal93 85 webcoreBinding: RuntimeEnabledFeatures 94 86 condition: ENABLE(OFFSCREEN_CANVAS) … … 99 91 humanReadableName: "CSSOM View Scrolling API" 100 92 humanReadableDescription: "Implement standard behavior for scrollLeft, scrollTop, scrollWidth, scrollHeight, scrollTo, scrollBy and scrollingElement." 101 category: internal102 93 103 94 BlockingOfSmallPluginsEnabled: … … 106 97 humanReadableName: "Block small plugins" 107 98 humanReadableDescription: "Stop plugins smaller than a certain threshold from loading." 108 category: internal109 99 110 100 CaptureVideoInGPUProcessEnabled: … … 113 103 humanReadableName: "Capture video in GPU Process" 114 104 humanReadableDescription: "Enable video capture in GPU Process" 115 category: internal116 105 webcoreBinding: none 117 106 condition: ENABLE(MEDIA_STREAM) … … 122 111 humanReadableName: "Sandbox Plug-Ins" 123 112 humanReadableDescription: "Enable Plug-In sandboxing" 124 category: internal125 113 webcoreBinding: RuntimeEnabledFeatures 126 114 webcoreName: experimentalPlugInSandboxProfilesEnabled … … 132 120 humanReadableDescription: "Enable Intelligent Tracking Prevention Database Backend" 133 121 webcoreBinding: RuntimeEnabledFeatures 134 category: internal135 122 136 123 ServiceWorkersEnabled: … … 139 126 humanReadableName: "Service Workers" 140 127 humanReadableDescription: "Enable Service Workers" 141 category: internal142 128 webcoreBinding: RuntimeEnabledFeatures 143 129 webcoreName: serviceWorkerEnabled … … 149 135 humanReadableName: "Async Frame Scrolling" 150 136 humanReadableDescription: "Perform frame scrolling off the main thread" 151 category: internal152 137 153 138 AsyncOverflowScrollingEnabled: … … 156 141 humanReadableName: "Async Overflow Scrolling" 157 142 humanReadableDescription: "Perform overflow scrolling off the main thread" 158 category: internal159 143 160 144 LegacyOverflowScrollingTouchEnabled: … … 164 148 humanReadableDescription: "Support the legacy -webkit-overflow-scrolling CSS property" 165 149 condition: ENABLE(OVERFLOW_SCROLLING_TOUCH) 166 category: internal167 150 168 151 FullScreenEnabled: … … 173 156 humanReadableName: "Fullscreen API" 174 157 humanReadableDescription: "Fullscreen API" 175 category: internal176 158 177 159 AriaReflectionEnabled: … … 180 162 humanReadableName: "ARIA Reflection" 181 163 humanReadableDescription: "ARIA Reflection support" 182 category: internal183 164 webcoreBinding: RuntimeEnabledFeatures 184 165 … … 189 170 humanReadableDescription: "Enable Web API Statistics" 190 171 webcoreBinding: RuntimeEnabledFeatures 191 category: internal192 172 193 173 SecureContextChecksEnabled: … … 197 177 humanReadableDescription: "Allow access to HTTPS-only Web APIs over HTTP" 198 178 webcoreBinding: RuntimeEnabledFeatures 199 category: internal200 179 201 180 SelectionAcrossShadowBoundariesEnabled: … … 204 183 humanReadableName: "Selection across shadow DOM" 205 184 humanReadableDescription: "Allow user-initiated selection across shadow DOM boundaries" 206 category: internal207 185 webcoreName: selectionAcrossShadowBoundariesEnabled 208 186 … … 214 192 humanReadableDescription: "Support faster clicks on zoomable pages" 215 193 webcoreBinding: none 216 category: internal217 194 218 195 PreferFasterClickOverDoubleTap: … … 223 200 humanReadableDescription: "Prefer a faster click over a double tap" 224 201 webcoreBinding: none 225 category: internal226 202 227 203 ZoomOnDoubleTapWhenRoot: … … 232 208 humanReadableDescription: "Double taps zoom, even if we dispatched a click on the root nodes" 233 209 webcoreBinding: none 234 category: internal235 210 236 211 AlwaysZoomOnDoubleTap: … … 241 216 humanReadableDescription: "Double taps zoom, even if we dispatched a click anywhere" 242 217 webcoreBinding: none 243 category: internal244 218 245 219 InputTypeColorEnabled: … … 248 222 humanReadableName: "Color Inputs" 249 223 humanReadableDescription: "Enable input elements of type color" 250 category: internal251 224 condition: ENABLE(INPUT_TYPE_COLOR) 252 225 … … 256 229 humanReadableName: "Date Input" 257 230 humanReadableDescription: "Enable input elements of type date" 258 category: internal259 231 condition: ENABLE(INPUT_TYPE_DATE) 260 232 … … 264 236 humanReadableName: "datetime-local Inputs" 265 237 humanReadableDescription: "Enable input elements of type datetime-local" 266 category: internal267 238 condition: ENABLE(INPUT_TYPE_DATETIMELOCAL) 268 239 … … 272 243 humanReadableName: "Month Input" 273 244 humanReadableDescription: "Enable input elements of type month" 274 category: internal275 245 condition: ENABLE(INPUT_TYPE_MONTH) 276 246 … … 280 250 humanReadableName: "Time Input" 281 251 humanReadableDescription: "Enable input elements of type time" 282 category: internal283 252 condition: ENABLE(INPUT_TYPE_TIME) 284 253 … … 288 257 humanReadableName: "Week Input" 289 258 humanReadableDescription: "Enable input elements of type week" 290 category: internal291 259 condition: ENABLE(INPUT_TYPE_WEEK) 292 260 … … 296 264 humanReadableName: "Date/Time inputs have editable components" 297 265 humanReadableDescription: "Enable multiple editable components in date/time inputs" 298 category: internal299 266 webcoreName: dateTimeInputsEditableComponentsEnabled 300 267 condition: ENABLE(DATE_AND_TIME_INPUT_TYPES) … … 305 272 humanReadableName: "DataList Element" 306 273 humanReadableDescription: "Enable datalist elements" 307 category: internal308 274 webcoreBinding: RuntimeEnabledFeatures 309 275 condition: ENABLE(DATALIST_ELEMENT) … … 314 280 humanReadableName: "Full next-generation layout (LFC)" 315 281 humanReadableDescription: "Enable full next-generation layout (LFC)" 316 category: internal317 282 webcoreBinding: RuntimeEnabledFeatures 318 283 condition: ENABLE(LAYOUT_FORMATTING_CONTEXT) … … 323 288 humanReadableName: "Next-generation line layout integration (LFC)" 324 289 humanReadableDescription: "Enable next-generation line layout integration (LFC)" 325 category: internal326 290 webcoreBinding: RuntimeEnabledFeatures 327 291 condition: ENABLE(LAYOUT_FORMATTING_CONTEXT) … … 332 296 humanReadableName: "Capture audio in UI Process" 333 297 humanReadableDescription: "Enable audio capture in UI Process" 334 category: internal335 298 webcoreBinding: none 336 299 condition: ENABLE(MEDIA_STREAM) … … 341 304 humanReadableName: "Capture audio in GPU Process" 342 305 humanReadableDescription: "Enable audio capture in GPU Process" 343 category: internal344 306 webcoreBinding: none 345 307 condition: ENABLE(MEDIA_STREAM) … … 350 312 humanReadableName: "Render canvas in GPU Process" 351 313 humanReadableDescription: "Enable canvas rendering in GPU Process" 352 category: internal353 314 webcoreBinding: none 354 315 … … 358 319 humanReadableName: "Filter HTTP Response for Web Processes" 359 320 humanReadableDescription: "Enable HTTP Response filtering for Web Processes" 360 category: internal361 321 webcoreBinding: RuntimeEnabledFeatures 362 322 … … 366 326 humanReadableName: "UndoManager DOM API" 367 327 humanReadableDescription: "Enable the UndoManager DOM API" 368 category: internal369 328 370 329 CSSLogicalEnabled: … … 374 333 humanReadableDescription: "Enable CSS Logical Properties and Values" 375 334 webcoreBinding: RuntimeEnabledFeatures 376 category: internal377 335 378 336 LineHeightUnitsEnabled: … … 382 340 humanReadableDescription: "Enable the lh and lhr units" 383 341 webcoreBinding: RuntimeEnabledFeatures 384 category: internal385 342 386 343 DOMPasteAccessRequestsEnabled: … … 389 346 humanReadableName: "DOM Paste Access Requests" 390 347 humanReadableDescription: "Enable DOM Paste Access Requests" 391 category: internal392 348 393 349 MouseEventsSimulationEnabled: … … 397 353 humanReadableDescription: "Enable mouse events dispatch along with touch events on iOS" 398 354 webcoreBinding: RuntimeEnabledFeatures 399 category: internal400 355 condition: ENABLE(TOUCH_EVENTS) 401 356 … … 405 360 humanReadableName: "Idempotent Text Autosizing" 406 361 humanReadableDescription: "Use idempotent text autosizing mode" 407 category: internal408 362 condition: ENABLE(TEXT_AUTOSIZING) 409 363 … … 413 367 humanReadableName: "Allow Viewport Shrink to Fit Content" 414 368 humanReadableDescription: "Allow the viewport shrink to fit content heuristic when appropriate" 415 category: internal416 369 condition: PLATFORM(IOS_FAMILY) 417 370 … … 421 374 humanReadableName: "Enter Key Hint" 422 375 humanReadableDescription: "Enable the enterKeyHint HTML attribute" 423 category: internal424 376 425 377 ApplePayRemoteUIEnabled: 426 category: internal427 378 condition: ENABLE(APPLE_PAY_REMOTE_UI) 428 379 defaultValue: true … … 436 387 humanReadableName: "[ITP Live-On] 1 Hour Timeout For Non-Cookie Data Removal" 437 388 humanReadableDescription: "Remove all non-cookie website data after just one hour of no user interaction when Intelligent Tracking Prevention is enabled" 438 category: internal439 389 440 390 IsFirstPartyWebsiteDataRemovalReproTestingEnabled: … … 443 393 humanReadableName: "[ITP Repro] 30 Second Timeout For Non-Cookie Data Removal" 444 394 humanReadableDescription: "Remove all non-cookie website data after just 30 seconds of no user interaction when Intelligent Tracking Prevention is enabled" 445 category: internal446 395 447 396 UseGPUProcessForMedia: … … 451 400 humanReadableName: "Media in GPU Process" 452 401 humanReadableDescription: "Do all media loading and playback in the GPU Process" 453 category: internal454 402 webcoreName: useGPUProcessForMedia
Note:
See TracChangeset
for help on using the changeset viewer.