Skip to content
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

Fix and enable additional streams tests in ShadowRealm #49321

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ptomato
Copy link
Contributor

@ptomato ptomato commented Nov 22, 2024

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=*].
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.

3 participants