Demix error event from GlobalEventHandlers#16610
Conversation
|
This pull request has merge conflicts that must be resolved before it can be merged. |
1 similar comment
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
There are lots of "error" events. Can you research which ones we already have and which are missing? |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
I've reverted the additions, which aren't specific enough. |
foolip
left a comment
There was a problem hiding this comment.
This (the string "error") is probably the most widely used event type, fired in lots of places. For this cleanup we only need to worry about the Node hierarchy and Window, however.
There's already an entry for Window, and these are the elements I can find where there's an "error" event:
HTMLImageElementHTMLLinkElementHTMLMediaElement(already in BCD)HTMLObjectElementHTMLScriptElementHTMLSourceElementHTMLStyleElementHTMLTrackElementSVGImageElementSVGScriptElementSVGStyleElementSVGUseElement
Can you add all of these, and remove the "error_event" entry on Element? There is no generic "error" event, all of these are separate code paths.
|
Looks like there's also |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
0fa74c3 to
7bbd95d
Compare
|
I've isolated this PR to only focus on removing the event handler from GEH, and have opened an issue for adding the event to the other interfaces. This should help us remove GEH while we get to the bottom of each interface! |
This PR demixes the
errorevent from the GlobalEventHandlers mixin.