FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: add WPT tests for dom/events by nissy-dev · Pull Request #43151 · nodejs/node · GitHub

/ node Public

test: add WPT tests for dom/events - #43151

Merged
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
nissy-dev:wpt-dom-events
Jun 22, 2022
Merged

test: add WPT tests for dom/events#43151
nodejs-github-bot merged 3 commits into
nodejs:mainfrom
nissy-dev:wpt-dom-events

Conversation

nissy-dev commented May 19, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

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 by git-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

nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 19, 2022
nissy-dev marked this pull request as ready for review May 19, 2022 14:23

shisama left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you for adding WPT test. I left some comments. But they are small things so it is ok not to fix them :)

Comment thread test/wpt/status/dom/events.json Outdated
Comment thread test/wpt/status/dom/events.json Outdated

Copy link
Copy Markdown
Contributor Author

@shisama Thank you for reviews! Other member react your suggestion, so I will incorporate your correction.

nissy-dev and others added 2 commits May 20, 2022 21:43
Co-authored-by: Masashi Hirano <shisama07@gmail.com>
Co-authored-by: Masashi Hirano <shisama07@gmail.com>

nissy-dev commented May 23, 2022
edited
Loading

Copy link
Copy Markdown
Contributor Author

@bnoordhuis
This PR is based on your comment. If you have a time, would you review it?

bnoordhuis 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, thanks!

shisama added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label May 23, 2022
aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label May 25, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 25, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

shisama added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 11, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

F3n67u commented Jun 19, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

We could remove the following test, given they are already implemented in js in the latest wpt repo:

  1. test/parallel/test-eventtarget-whatwg-passive.js
  2. test/parallel/test-eventtarget-whatwg-signal.js
  3. test/parallel/test-eventtarget-whatwg-once.js

We could do the cleanup either in a separate pr or in this pr. I will be fine with both approaches.

Copy link
Copy Markdown
Contributor Author

@F3n67u
Thank you for your comment! I will do the cleanup either in a separate pr because of flaky test in CI.

F3n67u mentioned this pull request Jun 21, 2022
aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Jun 22, 2022
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 22, 2022
nodejs-github-bot merged commit 8dce6ad into nodejs:main Jun 22, 2022

Copy link
Copy Markdown
Collaborator

Landed in 8dce6ad

nissy-dev deleted the wpt-dom-events branch June 23, 2022 12:48
targos pushed a commit that referenced this pull request Jul 12, 2022
PR-URL: #43151
Refs: #40678
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Jul 20, 2022
PR-URL: #43151
Refs: #40678
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Jul 31, 2022
PR-URL: #43151
Refs: #40678
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
guangwong pushed a commit to noslate-project/node that referenced this pull request Oct 10, 2022
PR-URL: nodejs/node#43151
Refs: nodejs/node#40678
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL