Closed Bug 2065372 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62092 - [wasm] Await TestSandwich in js-promise-integration

Categories

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

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

chicoxyzzy <chi187@gmail.com> wrote:

[wasm] Await TestSandwich in js-promise-integration

The sandwich promise_tests call async TestSandwich() and discard the promise. testharness can treat the test as done while JSPI is still suspended; a later assertion or exception becomes an unhandled rejection instead of a test FAIL.

Await the helper so the tests wait for resume.

WebKit: https://github.com/WebKit/WebKit/pull/72042

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

CI Results

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

Total 9 tests and 5 subtests

Status Summary

Firefox

OK : 2[GitHub] 6[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 26[GitHub] 42[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 26

Safari

OK : 2
PASS: 26

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2a7d92ba6fce https://hg.mozilla.org/integration/autoland/rev/c51c0c600966 [wpt PR 62092] - [wasm] Await TestSandwich in js-promise-integration, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.