Skip to content

Conversation

@avivkeller
Copy link
Member

@avivkelleravivkeller commented Aug 20, 2024

This PR updates the WPT files.

Note the following behavioral differences between Node.js and WPT:

test-structured-clone.js

Comparison: https://wpt.fyi/results/html/webappapis/structured-clone/structured-clone.any.html
See: #55120

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/web-standards

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Aug 20, 2024
@avivkelleravivkeller added web-standards Issues and PRs related to Web APIs commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed test Issues and PRs related to the tests. needs-ci PRs that need a full CI run. labels Aug 20, 2024
@avivkelleravivkeller added the wip Issues and PRs that are still a work in progress. label Aug 20, 2024
@avivkelleravivkellerforce-pushed the wpt branch 3 times, most recently from 1608018 to dfc14ddCompareAugust 22, 2024 18:51
@avivkelleravivkellerforce-pushed the wpt branch 2 times, most recently from 241ee32 to 4d67590CompareAugust 26, 2024 20:53
panva added a commit to panva/node that referenced this pull request Aug 27, 2024
@avivkelleravivkeller added the blocked PRs that are blocked by other issues or PRs. label Aug 27, 2024
@avivkeller
Copy link
MemberAuthor

avivkeller commented Aug 27, 2024

This PR is a draft, and is no where near completion, but for record-keeping, this can't land until #54468#54593 does.

@panva
Copy link
Member

This PR is a draft, and is no where near completion, but for record-keeping, this can't land until #54468 does.

Not necessarily, just stay clear of updating WebCryptoAPI as that will be done separately in #54593

@avivkelleravivkeller removed the blocked PRs that are blocked by other issues or PRs. label Aug 27, 2024
@avivkeller
Copy link
MemberAuthor

Not necessarily, just stay clear of updating WebCryptoAPI as that will be done separately in #54593

Right, haha. I just to remove the WebCryptoAPI changes, and then fix the other failures...

@avivkelleravivkellerforce-pushed the wpt branch 2 times, most recently from 1d013e6 to cfea3ebCompareAugust 28, 2024 01:07
nodejs-github-bot pushed a commit that referenced this pull request Aug 29, 2024
Refs: #54572 Refs: #54468 PR-URL: #54593 Refs: #54572 Refs: #54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@avivkelleravivkellerforce-pushed the wpt branch 2 times, most recently from 9d1d270 to f03c104CompareSeptember 7, 2024 23:13
@avivkelleravivkeller removed the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Sep 7, 2024
@jasnelljasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2024
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2024
@nodejs-github-bot
Copy link
Collaborator

@avivkelleravivkellerforce-pushed the wpt branch 5 times, most recently from e1a5f83 to fe20ad8CompareSeptember 25, 2024 20:02
@avivkelleravivkeller added test Issues and PRs related to the tests. and removed wip Issues and PRs that are still a work in progress. labels Sep 25, 2024
@avivkelleravivkeller marked this pull request as ready for review September 25, 2024 20:08
Comment on lines 4 to 12
"note12": "(1, 2) File is not (yet) transferrable. (3) SharedArrayBuffer does not extend ArrayBuffer",
"note3": "(3) SharedArrayBuffer does not extend ArrayBuffer",
"note4": "(4) https://github.com/nodejs/node/issues/55120",
"expected": [
"File basic",
"A subclass instance will deserialize as its closest serializable superclass",
"Growable SharedArrayBuffer",
"Serializing a non-serializable platform object fails"
]
Copy link
MemberAuthor

@avivkelleravivkellerSep 25, 2024

Choose a reason for hiding this comment

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

Review note:
File basic and A subclass instance will deserialize as its closest serializable superclass are being monitored at #47612

Growable SharedArrayBuffer is failing WPT because the test expects that SharedArrayBuffer extends ArrayBuffer, but it does not (AFAICT in Chromium and Node.js). I've manually tested that the behavior the WPT expects (regarding the clone, not the extension) passes on Node.js.

Serializing a non-serializable platform object fails is being monitored at #55120

@avivkelleravivkeller added the needs-ci PRs that need a full CI run. label Sep 25, 2024
@codecov
Copy link

codecovbot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.24%. Comparing base (bdddc04) to head (341b6c2).
Report is 60 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #54468 +/- ## ========================================== - Coverage 88.25% 88.24% -0.01%  ========================================== Files 651 651 Lines 183856 183856 Branches 35856 35853 -3 ========================================== - Hits 162255 162252 -3 + Misses 14895 14883 -12 - Partials 6706 6721 +15 

see 24 files with indirect coverage changes

@avivkeller
Copy link
MemberAuthor

I'm closing this in favor of opening each update seperately, so some of them can be backported (if needed?)

louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
Refs: nodejs#54572 Refs: nodejs#54468 PR-URL: nodejs#54593 Refs: nodejs#54572 Refs: nodejs#54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
panva added a commit to panva/node that referenced this pull request Jun 5, 2025
Refs: nodejs#54572 Refs: nodejs#54468 PR-URL: nodejs#54593 Refs: nodejs#54572 Refs: nodejs#54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
marco-ippolito pushed a commit that referenced this pull request Jun 9, 2025
Refs: #54572 Refs: #54468 PR-URL: #54593 Backport-PR-URL: #58589 Refs: #54572 Refs: #54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
marco-ippolito pushed a commit that referenced this pull request Jun 10, 2025
Refs: #54572 Refs: #54468 PR-URL: #54593 Backport-PR-URL: #58589 Refs: #54572 Refs: #54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
marco-ippolito pushed a commit that referenced this pull request Jun 11, 2025
Refs: #54572 Refs: #54468 PR-URL: #54593 Backport-PR-URL: #58589 Refs: #54572 Refs: #54468 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.web-standardsIssues and PRs related to Web APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@avivkeller@nodejs-github-bot@panva@jasnell