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

[wasm] esm integration test updates #45401

Merged
merged 3 commits into from
Apr 3, 2024

Conversation

guybedford
Copy link
Contributor

@guybedford guybedford commented Mar 28, 2024

Implementation fixes and follow up on the previous test cases for the ESM Integration source phase imports that were added in #42467.

  • Fixes the global test to not throw a TDZ error
  • Fixes the negation test that WebAssembly.Module is not Object.prototype
  • Fixes the sample Wasm to use the empty Wasm binary instead of another constructed binary
  • Fixes the WebAssembly.Module.exports test to map the name field before asserting
  • Adds the worker test entry point instead of treating it as inaccessible.
  • Adds esm-integration script-src verification tests for both permitting and denying Wasm modules through CSP.

@guybedford guybedford changed the title [wasm] esm integration source phase test corrections [wasm] esm integration source phase test updates Mar 28, 2024
@guybedford guybedford changed the title [wasm] esm integration source phase test updates [wasm] esm integration test updates Mar 28, 2024
@Ms2ger Ms2ger requested a review from nicolo-ribaudo April 3, 2024 10:39
@Ms2ger Ms2ger merged commit 140f5c8 into web-platform-tests:master Apr 3, 2024
19 checks passed
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.

5 participants