Closed Bug 1793460 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36229 - Fix element capture WPT ref to none existent media element

Categories

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

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Tony Herre <toprice@chromium.org> wrote:

Fix element capture WPT ref to none existent media element

This test was previously failing on all browsers due to testing a
\<media> element had a captureStream() method. Fix it to use the
actually defined elements - \<audio> and \<video>.

Bug: 1370554,b/250598814
Change-Id: I961273f32c95459ca5e38cdaacab7512742026b1
Reviewed-on: https://chromium-review.googlesource.com/3932904
WPT-Export-Revision: 0f46d3e8be5e06e9cd4ce9197b6782fd1263b388

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

CI Results

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

Total 1 tests and 30 subtests

Status Summary

Firefox

OK : 1
PASS: 17
FAIL: 13

Chrome

OK : 1
PASS: 30

Safari

OK : 1
PASS: 29
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /mediacapture-fromelement/idlharness.window.html [wpt.fyi]
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface object: FAIL
    • CanvasCaptureMediaStreamTrack interface object length: FAIL
    • CanvasCaptureMediaStreamTrack interface object name: FAIL
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object: FAIL
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object's "constructor" property: FAIL
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    • CanvasCaptureMediaStreamTrack interface: attribute canvas: FAIL
    • CanvasCaptureMediaStreamTrack interface: operation requestFrame(): FAIL
    • CanvasCaptureMediaStreamTrack must be primary interface of track: FAIL
    • Stringification of track: FAIL
    • CanvasCaptureMediaStreamTrack interface: track must inherit property "canvas" with the proper type: FAIL
    • CanvasCaptureMediaStreamTrack interface: track must inherit property "requestFrame()" with the proper type: FAIL

New Tests That Don't Pass

  • /mediacapture-fromelement/idlharness.window.html [wpt.fyi]
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface object length: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface object name: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: attribute canvas: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: operation requestFrame(): FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack must be primary interface of track: FAIL (Chrome: PASS, Safari: PASS)
    • Stringification of track: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: track must inherit property "canvas" with the proper type: FAIL (Chrome: PASS, Safari: PASS)
    • CanvasCaptureMediaStreamTrack interface: track must inherit property "requestFrame()" with the proper type: FAIL (Chrome: PASS, Safari: PASS)
    • HTMLMediaElement interface: operation captureStream(): FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cdc9c364926a [wpt PR 36229] - Fix element capture WPT ref to none existent media element, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.