Bug 257980 - Rewrite the feature flag parser to emit inline diagnostics
Summary: Rewrite the feature flag parser to emit inline diagnostics
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Elliott Williams
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-12 13:40 PDT by Elliott Williams
Modified: 2023-06-12 14:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elliott Williams 2023-06-12 13:40:22 PDT
We want to do more validation of feature flag declarations. For that, we need better diagnostics. A good start would be for GeneratePreferences.rb to be able to emit validation messages on the line they occur.
Comment 1 Radar WebKit Bug Importer 2023-06-12 13:41:04 PDT
<rdar://problem/110663782>
Comment 2 Elliott Williams 2023-06-12 14:27:48 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14888