-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Enable shadowrealm testing for wasm api (tests with dependencies) #41987
Enable shadowrealm testing for wasm api (tests with dependencies) #41987
Conversation
resources/testharness.js
Outdated
@@ -4710,6 +4710,7 @@ | |||
} | |||
target[components[components.length - 1]] = object; | |||
} | |||
expose(expose, 'expose'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enables use in other helpers to "expose" testing functions in appropriate global scopes.
I'd assign to |
Yes, |
Supports tests that have helper dependencies. Exposes wasm-local helper functions
9a6baa0
to
f722ac9
Compare
@Ms2ger thanks for the review! Changes made as requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I didn't double-check the tests, but anything that works in a js shell should surely be safe
Supports tests that have helper dependencies. Exposes "expose" in testharness.js to enable exposing wasm-local helper functions