Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2391a5cb885b9c0fc12ec81e5dff91fc049ac6b3
https://github.com/WebKit/WebKit/commit/2391a5cb885b9c0fc12ec81e5dff91fc049ac6b3
Author: Anne van Kesteren <[email protected]>
Date: 2026-09-08 (Tue, 08 Sep 2026)
Changed paths:
M Source/WTF/Scripts/GeneratePreferences.rb
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
Log Message:
-----------
Reject unknown keys in UnifiedWebPreferences.yaml and drop what nothing reads
https://bugs.webkit.org/show_bug.cgi?id=323649
Reviewed by Chris Dumez.
GeneratePreferences.rb now rejects any key it does not know, so a typo, or a
key no generator reads, fails the build rather than being ignored without a
word. That subsumes the two "no longer used" checks for webcoreBinding and
exposed.
"webcoreType" was the first thing it caught. A FIXME records what was intended
there originally.
63 of the 84 "webKitLegacyExposed: false" entries sat on preferences already
excluded from WebKitLegacy. Those go, and declaring it while WebKitLegacy is
excluded is now an error.
No behavior change: generating every derived file for all six generator
invocations before and after produces 23 byte-identical files.
Canonical link: https://commits.webkit.org/320649@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications