-
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
Add GlobalEventHandlers.beforexrselect_event #16026
Conversation
fwiw, the alternative would be to add this under the specific interfaces: api.Document.beforexrselect_event |
As argued in mdn/content#15376 (comment), I think this should go under api.Element.beforexselect_event. |
@saschanaz would api.Element.beforexrselect_event work for you even if the IDLs don't install it under Element? |
Also @queengooborg, would this work with the collector? Would you remap this to Element somehow? |
Yes, this would be remapped to the Element API by the collector already, as the collector demixes all mixins before generating tests! Edit: this will also map to Document, HTMLElement, and anything else that "implements GlobalEventHandlers;" in IDL! |
My current logic check two places: The original mixin or each interface. It would be hard to find But theoretically it can still be somehow tracked as it has GlobalEventHandlers anyway, I should gather all the interfaces and check the support data exists anywhere, although that's kinda weird since there may or may not exist multiple support data or not. |
For anything in The problem we have here is that The *_event entries might be on both a more general interface like I think that a mapping would have treat all kinds of elements as one class, all kind of documents as one class, and also know whether a specific event bubbles. The bubbling information is currently not machine readable anywhere, but maybe a decent approximation is to guess that all events bubble. |
This pull request has merge conflicts that must be resolved before it can be merged. |
Thanks @Elchi3! However, we ended up deciding to demix |
okay, thanks! How should I add
^ like this? |
Companion PR for mdn/content#15376
Discussion: #7545 (comment) and ff.