-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(schemas/browsers)!: merge accepts_{flags,webextension}
fields into accepts
array
#25825
base: main
Are you sure you want to change the base?
Conversation
accepts_{flags,webextension}
fields into accepts
array
accepts_{flags,webextension}
fields into accepts
arrayaccepts_{flags,webextension}
fields into accepts
array
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering that we're adding more flags for featuresets browsers allow, this makes sense.
Small nit: perhaps it would make more sense to make this a dictionary instead, so that we can add version numbers for when a featureset was introduced?
@queengooborg I'm open to discussing the use case behind making this a dictionary, but I would prefer to start with this basic approach, to avoid scope creep. |
Summary
Merges the
accepts_flags
andaccepts_webextensions
fields in the browser schema into a singleaccepts
array that accepts the enum valuesflags
andwebextensions
.Important
This is a breaking change, as we expose these fields in the built
data.json
.Test results and supporting details
Prepares for #25804, which adds
webdriver-bidi
.Related issues