Closed Bug 1679604 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 26666 - [mediacapture-record] Add tests for MediaRecorder.start()

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Christoph Guttandin <chrisguttandin@media-codings.com>' wrote:

[mediacapture-record] Add tests for MediaRecorder.start()

This PR adds a test for the start() method of a MediaRecorder. The test checks that it throws a NotSupportedError in case the given stream contains a track that can't be recorded with the specified mimeType.

The corresponding part of the spec is here: https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-start

  1. For each track in tracks, if the User Agent cannot record the track using the current configuration, then throw a NotSupportedError DOMException and abort these steps.

This is my first WPT contribution. Please let me know if there is anything I need to change.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5cc140c3789d
[wpt PR 26666] - [mediacapture-record] Add tests for MediaRecorder.start(), a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.