-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update event features according new data guideline #14578
Comments
I'm working on checklists so we can do this with less errors! Here they are: AWhen
When both
On the API interface page:
On each page of the interface and the API overview page:
Optional:
Administration:
|
(Both of these are WIP; feel free to edit.) A checklist for creating an event BCD PR (for authors):
A checklist for reviewing an event BCD PR (for reviewers):
|
This PR adapts the BaseAudioContext API to conform to the new events structure. Part of work for mdn#14578.
This PR adapts the AudioTrackList API to conform to the new events structure. Part of work for mdn#14578.
This PR adapts the processorerror event of the AudioWorkletNode API to conform to the new events structure. Part of work for mdn#14578.
This PR adapts the DedicatedWorkerGlobalScope API to conform to the new events structure. Part of work for mdn#14578.
This PR adapts the AudioTrackList API to conform to the new events structure. Part of work for #14578.
This PR adapts the BaseAudioContext API to conform to the new events structure. Part of work for #14578.
Hey @teoli2003 @Rumyra! Quick question: are you two still planning on tackling the events marked as "in progress"? I'd be happy to review PRs for them if so, or take them on if not! |
Hey @queengooborg - see the above linked prs. I am very sorry for doing MIDIAccess & MIDIPort together in the content one, but together they touched the same pages & were the same event type (I wasn't planning to - it just happened 😳 ) Hope I got the spec url move in the bcd ones too - let me know 👍 |
Thanks @Rumyra! No worries about doing those two interfaces together, especially since they're related interfaces and members! |
* Adapt DedicatedWorkerGlobalScope API to new events structure This PR adapts the DedicatedWorkerGlobalScope API to conform to the new events structure. Part of work for #14578. * Apply updates to related APIs * Add messageerror_event to ServiceWorkerContainer * Fix sorting
Hey @queengooborg Feel free to take over mine (I removed my name from them) |
Everything got done here except See the discussions: |
Great news: we have now finished demixing every event handler in GlobalEventHandlers, which marks the completion of this issue! 🎉 I realize that this issue was never updated to indicate that we made a decision about GlobalEventHandlers. There has been lots of conversation across many places, but the main decision was made during a BCD meeting. Philip and I decided that it would be best to demix GEH for two main reasons: it is the only remaining mixin in BCD that hasn't been moved to |
The data guideline for how to represent events in BCD has been updated recently. See https://github.com/mdn/browser-compat-data/blob/main/docs/data-guidelines.md#dom-events-eventname_event for the new guideline.
This is a tracking issue to update all event features to align with the said guidelines. Practically, this means that there shouldn't be any
on
event handler features. We can grep them:npm run traverse all api|grep "\.on"
.If mixins, bubbling events, or global events are involved, it might not be straightforward what to do but usually, the
on
event features are merged with theeventName_event
features, making two BCD entries one entry.All changes usually require an MDN content PR as well. Use the "needs content update" label and ideally also submit the MDN PR that changes the content structure. The MDN contribution docs contain a template that shows what new event pages should look like. Example page: https://developer.mozilla.org/en-US/docs/Web/API/XRSession/end_event
Help and expertise around events are appreciated.
ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935ApplicationCache
to the new event structure #14935The text was updated successfully, but these errors were encountered: