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

Fix and update web platform tests by targos · Pull Request #37467 · nodejs/node · GitHub

/ node Public

Fix and update web platform tests - #37467

Closed
targos wants to merge 3 commits into
nodejs:masterfrom
targos:update-wpt
Closed

Fix and update web platform tests#37467
targos wants to merge 3 commits into
nodejs:masterfrom
targos:update-wpt

Conversation

targos commented Feb 21, 2021

Copy link
Copy Markdown
Member
  • test: redownload wpt fixtures with correct encoding
  • test: update all Web Platform Tests

The fixtures were generated with a modified version of node-core-utils
containing these two PRs:

nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 21, 2021

mhdawson 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

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

jasnell commented Feb 23, 2021

Copy link
Copy Markdown
Member

RSLGTM

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

targos commented Mar 3, 2021

Copy link
Copy Markdown
Member Author

There are many unexpected failures with TextDecoder specific to Windows.
I don't know if it's something we should look into or if we can just skip these tests.

@jasnell wdyt?

Example:

17:56:18     ---- legacy-mb-schinese\gbk\gbk-decoder.any.js ----
17:56:18     [UNEXPECTED_FAILURE][FAIL] gbk pointer: 6432
17:56:18     assert_equals: expected 8364 but got 59244
17:56:18         at Test.<anonymous> (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\encoding\legacy-mb-schinese\gbk\gbk-decoder.any.js:26:9)
17:56:18         at Test.step (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\resources\testharness.js:2092:25)
17:56:18         at test (C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\resources\testharness.js:566:30)
17:56:18         at C:\workspace\node-test-binary-windows-js-suites\node\test\fixtures\wpt\encoding\legacy-mb-schinese\gbk\gbk-decoder.any.js:20:5
17:56:18         at Script.runInThisContext (node:vm:131:12)
17:56:18     Command: C:\workspace\node-test-binary-windows-js-suites\node\Release\node.exe  C:\workspace\node-test-binary-windows-js-suites\node\test\wpt\test-encoding.js legacy-mb-schinese\gbk\gbk-decoder.any.js

jasnell commented Mar 3, 2021

Copy link
Copy Markdown
Member

Let's skip those for now but open a tracking issue to investigate. I'm not sure why those would fail on windows of the top of my head

targos commented Mar 3, 2021

Copy link
Copy Markdown
Member Author

Actually I think I know why they fail only on Windows...
I already skipped them in the status file. It's probably not taken into account on Windows because of the different path separator.

targos commented Mar 3, 2021

Copy link
Copy Markdown
Member Author

Should be fixed with e5d071e

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

targos added a commit that referenced this pull request Mar 3, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
targos added a commit that referenced this pull request Mar 3, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>

targos commented Mar 3, 2021

Copy link
Copy Markdown
Member Author

Landed in 26288ff...0c11f2e

targos closed this Mar 3, 2021
targos deleted the update-wpt branch March 3, 2021 21:17
danielleadams pushed a commit that referenced this pull request Mar 16, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
danielleadams pushed a commit that referenced this pull request Mar 16, 2021
PR-URL: #37467
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.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

test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL