Closed Bug 1777745 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 34681 - MSE-in-Workers: Add wpt for load failure of detached MediaSourceHandle

Categories

(Core :: Audio/Video: Playback, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Matt Wolenetz <wolenetz@chromium.org> wrote:

MSE-in-Workers: Add wpt for load failure of detached MediaSourceHandle

Adds wpt test case that verifies:

  • A detached (already transferred away) MediaSourceHandle cannot
    successfully load when assigned to srcObject.

BUG=878133,1338956

Change-Id: I4f38daca1a3c9d163ee9cf3273da603bb29eed9f
Reviewed-on: https://chromium-review.googlesource.com/3741463
WPT-Export-Revision: 5ff2126d1bf23c84fddc07271ee16f1ee126d7b3

PR 34681 applied with additional changes from upstream: 244c1fcc12bc76d5bb9a3b24c642ab2cfec66134
Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core

CI Results

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

Total 1 tests and 8 subtests

Status Summary

Firefox

OK : 1
FAIL : 8

Chrome

PASS : 1
FAIL : 1
TIMEOUT: 1
ERROR : 1
NOTRUN : 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /media-source/dedicated-worker/mediasource-worker-handle-transfer.html [wpt.fyi]
    • MediaSourceHandle serialization without transfer must fail, tested in window context: FAIL (Chrome: TIMEOUT)
    • Same MediaSourceHandle transferred multiple times in single postMessage must fail, tested in window context: FAIL (Chrome: NOTRUN)
    • Attempt to transfer detached MediaSourceHandle must fail, tested in window context: FAIL (Chrome: NOTRUN)
    • MediaSourceHandle cannot be transferred, immediately after set as srcObject, even if srcObject immediately reset to null: FAIL (Chrome: NOTRUN)
    • MediaSourceHandle cannot be transferred, if it was srcObject when asynchronous load starts (loadstart), even if srcObject is then immediately reset to null: FAIL (Chrome: NOTRUN)
    • A detached (already transferred away) MediaSourceHandle cannot successfully load when assigned to srcObject: FAIL (Chrome: NOTRUN)
    • MediaSourceHandle serialization without transfer must fail, tested in worker: FAIL (Chrome: FAIL)
    • Same MediaSourceHandle transferred multiple times in single postMessage must fail, tested in worker: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c1443caf1644
[wpt PR 34681] - MSE-in-Workers: Add wpt for load failure of detached MediaSourceHandle, a=testonly
https://hg.mozilla.org/integration/autoland/rev/90da1725297d
[wpt PR 34681] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.