-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test: add WPT tests for dom/events #43151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding WPT test. I left some comments. But they are small things so it is ok not to fix them :)
@shisama Thank you for reviews! Other member react your suggestion, so I will incorporate your correction. |
Co-authored-by: Masashi Hirano <[email protected]>
Co-authored-by: Masashi Hirano <[email protected]>
@bnoordhuis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
We could remove the following test, given they are already implemented in js in the latest wpt repo:
We could do the cleanup either in a separate pr or in this pr. I will be fine with both approaches. |
@F3n67u |
Landed in 8dce6ad |
PR-URL: nodejs#43151 Refs: nodejs#40678 Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #43151 Refs: #40678 Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #43151 Refs: #40678 Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #43151 Refs: #40678 Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs/node#43151 Refs: nodejs/node#40678 Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
Following the comment #40678 (comment), I added WPT tests for dom/events. The files except
test/wpt/status/dom/events.json
,test/wpt/test-events.js
were generated bygit-node wpt dom/events
.Currently, some tests are failed. Is it OK? or should I make some work for passing them? Many of them seem to fail due to lack of browser specific API like
document is not undefined
.Refs: #40678