Closed Bug 1733173 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30869 - [wasm] Add test for cross-origin module sharing

Categories

(Core :: JavaScript: WebAssembly, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30869 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30869
Details from upstream follow.

Andreas Haas <ahaas@chromium.org> wrote:

[wasm] Add test for cross-origin module sharing

This CL adds two more tests for cross-origin sharing of WebAssembly
modules. The first test tries to send a module to an iframe in a
different agent cluster. The second test tries to send a module to an
iframe in the same agent cluster. In both cases the
postMessage should fail.

R=jbroman@chromium.org

Bug: chromium:1225641
Change-Id: Id1046cab521f65b68ab15bf55faee54cda70160e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3169714
Commit-Queue: Andreas Haas \<ahaas@chromium.org>
Reviewed-by: Jeremy Roman \<jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#925209}

Component: web-platform-tests → Javascript: WebAssembly
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

TIMEOUT: 2
NOTRUN : 1

Chrome

OK : 1
PASS : 2

Safari

TIMEOUT: 2
NOTRUN : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/wasm/serialization/module/cross-origin-module-sharing-fails.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
postMessaging a wasm module to an iframe in a different agent cluster fails: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
postMessaging a wasm module to a cross-origin iframe in the same agent cluster fails: NOTRUN (Chrome: PASS, Safari: NOTRUN)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d712d7c1bc7
[wpt PR 30869] - [wasm] Add test for cross-origin module sharing, a=testonly
https://hg.mozilla.org/integration/autoland/rev/aa57447dfe09
[wpt PR 30869] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.