Skip to content

Fix and enable additional streams tests in ShadowRealm#49321

Open
ptomato wants to merge 3 commits into
web-platform-tests:masterfrom
ptomato:shadowrealm-streams-followup
Open

Fix and enable additional streams tests in ShadowRealm#49321
ptomato wants to merge 3 commits into
web-platform-tests:masterfrom
ptomato:shadowrealm-streams-followup

Conversation

@ptomato

@ptomato ptomato commented Nov 22, 2024

Copy link
Copy Markdown
Contributor

Follow up with some things that were missed in #42005.

  • Convert a few additional tests from .html to .any.js format so they can be run in multiple scopes
  • Give absolute paths in meta script tags
  • Use structuredClone to transfer a stream if postMessage is not available

Requires adapting the tests (and a helper file) to use structuredClone
instead of postMessage to transfer the streams when running in a
ShadowRealm scope.
This test depends on MessageChannel, which is not [Exposed=*].
@ptomato ptomato force-pushed the shadowrealm-streams-followup branch from 597842c to b842644 Compare November 27, 2024 19:14
@ptomato

ptomato commented Nov 27, 2024

Copy link
Copy Markdown
Contributor Author

Removed the commit converting relative script paths to absolute; if #49386 lands it won't be necessary.

@alsyryhlymh40

Copy link
Copy Markdown

ارجواالتواصل

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.

4 participants