NEW269475
269988@main broke the ability to conditionally enable feature default values
https://bugs.webkit.org/show_bug.cgi?id=269475
Summary 269988@main broke the ability to conditionally enable feature default values
Mike Wyrzykowski
Reported 2024-02-15 09:54:46 PST
In UnifiedWebPreferences.yaml there are quite a few features with defaults like so: WebKit: "PLATFORM(COCOA) || PLATFORM(GTK) || PLATFORM(WPE)": true default: false however the 'status' category is tightly coupled to the feature definition and there is no obvious way to have multiple feature categories or have a status that is not aligned with its default value. This is the case when ENABLE_FEATURE_DEFAULT_VALIDATION is 1 which only applies to macOS 14 and later.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-15 09:55:01 PST
Elliott Williams
Comment 2 2024-02-15 10:07:05 PST
> however the 'status' category is tightly coupled to the feature definition and there is no obvious way to have multiple feature categories or have a status that is not aligned with its default value. Yeah. I think it would be a good improvement to allow the status to be conditionally specified, i.e. status: PLATFORM(IOS_FAMILY): stable default: preview For now, the status should correspond with the feature's availability on macOS, since that is where feature status is user-visible.
Note You need to log in before you can comment on or make changes to this bug.