Skip to content

Add test for onbeforeinput attribute. - #32367

Merged
foolip merged 2 commits into
masterfrom
onbeforeinput
Jan 24, 2022
Merged

foolip merged 2 commits into
masterfrom
onbeforeinput

Conversation

@jgraham

@jgraham jgraham commented Jan 13, 2022

Copy link
Copy Markdown
Contributor

This is tentative until whatwg/html#6743 lands

@domenic

domenic commented Jan 13, 2022

Copy link
Copy Markdown
Member

It might be better to test this without relying on the IDL attribute (e.g. using addEventListener), and then rely on https://github.com/web-platform-tests/wpt/blob/master/html/webappapis/scripting/events/event-handler-all-global-events.html which will automatically test the IDL attribute once the spec is updated and that flows into an IDL file update.

@jgraham

jgraham commented Jan 13, 2022

Copy link
Copy Markdown
Contributor Author

Testing the event handler attribute is the point; this is really for web-platform-tests/interop#28 which is specifically about the attribute, and for technical reasons it's not possible to use a single test from a larger file as part of the Interop-2022 metric.

@domenic

domenic commented Jan 13, 2022

Copy link
Copy Markdown
Member

Hmm, seems kind of unfortunate since it's easy to imagine a future person coming by and doing a cleanup to remove the "redundant" test. But oh well, not a big deal.

@foolip foolip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@foolip
foolip merged commit d780a80 into master Jan 24, 2022
@foolip
foolip deleted the onbeforeinput branch January 24, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants