Skip to content

[wasm] Match ESM worker tests to worker-helper message shape - #62118

Open
chicoxyzzy wants to merge 1 commit into
web-platform-tests:masterfrom
chicoxyzzy:wasm-worker-import-assert
Open

[wasm] Match ESM worker tests to worker-helper message shape#62118
chicoxyzzy wants to merge 1 commit into
web-platform-tests:masterfrom
chicoxyzzy:wasm-worker-import-assert

Conversation

@chicoxyzzy

@chicoxyzzy chicoxyzzy commented Aug 21, 2026

Copy link
Copy Markdown

resources/worker-helper.js posts {value, checks} (since the source-phase import work). Two older tests were never updated:

  • worker-import.tentative.html compared msg.data to 42 (WebKit FAIL: got [object Object])
  • worker.tentative.html compared the MessageEvent itself to 42

Both now assert msg.data.value === 42, same as worker-import-source-phase.tentative.html.

worker-helper.js posts {value, checks} since the source-phase import
work. worker-import still compared msg.data to 42, and worker.tentative
compared the MessageEvent itself to 42. Align both with
worker-import-source-phase.
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