[webkit-changes] [WebKit/WebKit] c8d18f: Validate that `-apple-` prefixed pseudos are gated...

Tim Nguyen noreply at github.com
Thu Jan 4 21:04:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8d18f19f59873d7962e6de8008dc4bd1d12dbea
      https://github.com/WebKit/WebKit/commit/c8d18f19f59873d7962e6de8008dc4bd1d12dbea
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M Source/WebCore/css/CSSPseudoSelectors.json
    M Source/WebCore/css/process-css-pseudo-selectors.py

  Log Message:
  -----------
  Validate that `-apple-` prefixed pseudos are gated behind a setting
https://bugs.webkit.org/show_bug.cgi?id=267116
rdar://120505828

Reviewed by Darin Adler.

Prevent accidental exposure of `-apple-` prefixed pseudos to web content by enforcing a "settings-flag" to be specified.

272538 at main is an example of bug which this is meant to prevent.

* Source/WebCore/css/CSSPseudoSelectors.json:
* Source/WebCore/css/process-css-pseudo-selectors.py:
(InputValidator.validate_fields):

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




More information about the webkit-changes mailing list