Closed Bug 1778687 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34727 - MSE-in-Workers: Test elements' simultaneous load of same handle

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 34727 into mozilla-central (this bug is closed when the sync is complete).

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

Matt Wolenetz <wolenetz@chromium.org> wrote:

MSE-in-Workers: Test elements' simultaneous load of same handle

Adds wpt test case that verifies:

  • Precisely one load of the same MediaSourceHandle assigned
    synchronously to multiple media element srcObjects succeeds.

BUG=878133, 1338956

Change-Id: Ide47c0efadbad198325bd911b1c8fed72705b3cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3741504
Auto-Submit: Matthew Wolenetz \<wolenetz@chromium.org>
Reviewed-by: Will Cassella \<cassew@chromium.org>
Commit-Queue: Will Cassella \<cassew@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1021939}

Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL : 10

Chrome

OK : 1
PASS : 1
FAIL : 2
TIMEOUT: 1
ERROR : 1
NOTRUN : 6

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)
    • Precisely one load of the same MediaSourceHandle assigned synchronously to multiple media element srcObjects succeeds: 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)
  • /media-source/dedicated-worker/mediasource-worker-play.html [wpt.fyi]
    • Test worker MediaSource construction, attachment, buffering and basic playback: FAIL (Chrome: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4877fe5b46a9
[wpt PR 34727] - MSE-in-Workers: Test elements' simultaneous load of same handle, a=testonly
https://hg.mozilla.org/integration/autoland/rev/e6a9fe52b19f
[wpt PR 34727] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.