Closed Bug 2018769 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 57994 - Refactor audioworklet-messageport.https.html into independent tests

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mahesh Bharadwaj Kannan <kmaheshb@google.com> wrote:

Refactor audioworklet-messageport.https.html into independent tests

This CL refactors the file into three separate and independent
promise_test blocks:

  1. Global-to-worklet via shared port.
  2. Worklet-to-node initialization message on creation.
  3. Node-to-worklet echo.

Each block now encapsulates its own logical scenario and uses its own
AudioContext. Additionally, t.add_cleanup(() => context.close()) is
used to ensure that audio resources and backend threads are properly
released even if assertions fail.

Bug: 457495630
Change-Id: I511c0779f6f743815a6262ec1f26e67187836fa7
Reviewed-on: https://chromium-review.googlesource.com/7594847
WPT-Export-Revision: c591ec957faa9171ea4a2453800ff2b23bee2996

Component: web-platform-tests → Web Audio
Product: Testing → Core

CI Results

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

Total 37 tests and 3 subtests

Status Summary

Firefox

OK : 1[GitHub] 31[Gecko-android-em-14-x86_64-debug-geckoview] 35[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 36[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 3[GitHub] 145[Gecko-android-em-14-x86_64-debug-geckoview] 148[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 156[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 21

Chrome

OK : 1
PASS: 2
FAIL: 1

Safari

OK : 1
PASS: 2
FAIL: 1

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/c8f1a0079eac https://hg.mozilla.org/integration/autoland/rev/926bfb66cec4 [wpt PR 57994] - Refactor audioworklet-messageport.https.html into independent tests, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.