-
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
Serial API events: on(dis)connect -> (dis)connect_event #13925
Conversation
@foolip There are two events here but we have 4 entries because the event bubbles from |
@Elchi3 bubbling is fairly rare out side of the On MDN, perhaps we should also consider pointing to bubbling event for the parent object types, similar to inherited properties and methods. |
I don't know this algorithm and I understand what this means. Can you elaborate? What is the consequence for BCD?
Okay. So then we probably want the two events documented under |
It's how the specs express what event targets event bubble through. The kind of bubbling you're familiar with is when an event is fired on an element, and it bubbles first through all of its parent elements, then to the document and finally to the window. That path comes from "get the parent" being defined for the nodes involved here. Bubbling is very uncommon outside of nodes, but one can find those places by looking for "get the parent" in other specs. Serial and IndexedDB is what I found.
Yes, I think that's exactly right. |
@Elchi3 I'm not sure if we ended up on the same page after all. I see you've left the event entries in |
I'm happy to remove them in |
Cool, back on the same page :D |
Update per new events guideline
Content work needed.