[webkit-changes] [WebKit/WebKit] 139404: Add HTML category to UnifiedWebPreferences.yaml

Tim Nguyen noreply at github.com
Fri Mar 24 14:56:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 139404b6f591d82bd665e03139871faa6f0ff5a9
      https://github.com/WebKit/WebKit/commit/139404b6f591d82bd665e03139871faa6f0ff5a9
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M Source/WTF/Scripts/GeneratePreferences.rb
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/UIProcess/API/APIFeatureStatus.h
    M Source/WebKit/UIProcess/API/Cocoa/_WKFeature.mm
    M Source/WebKitLegacy/mac/WebView/WebFeature.h

  Log Message:
  -----------
  Add HTML category to UnifiedWebPreferences.yaml
https://bugs.webkit.org/show_bug.cgi?id=254352
rdar://107144335

Reviewed by Brent Fulgham.

Lighten the DOM category by introducing a new HTML one, containing:
- inert attribute
- popover attribute
- Vertical form controls
- HTML <model> element
- HTML <model> document
- lazy image loading (<img loading=lazy>)
- lazy iframe loading (<iframe loading=lazy>)
- dialog element
- PDF.js (functionality wise similar to HTML <model> document, but also this is behind a build flag off by default, so doesn't matter where it goes as long as it can be turned on)

* Source/WTF/Scripts/GeneratePreferences.rb:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/UIProcess/API/APIFeatureStatus.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKFeature.mm:
(-[_WKFeature category]):
* Source/WebKitLegacy/mac/WebView/WebFeature.h:

Canonical link: https://commits.webkit.org/262100@main




More information about the webkit-changes mailing list