Closed Bug 1820724 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38846 - MediaRecorder throws NotSupportedError when context destroyed

Categories

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

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

François Beaufort <beaufort.francois@gmail.com> wrote:

MediaRecorder throws NotSupportedError when context destroyed

Even though the spec does not say which type of error is supposed to
be fired when MediaRecorder methods should fail with when context is
destroyed, this CL changes Chromium implementation to fire
NotSupportedError so that it matches Firefox and Safari implementations.

Change-Id: If94b90699f8c8f0104b96a40331bf10468ab8434
Reviewed-on: https://chromium-review.googlesource.com/4307250
WPT-Export-Revision: c6fe445f57e5cb6d36dbf64d002398230484ca62

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

CI Results

Ran 0 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
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/69efb312bf3f [wpt PR 38846] - MediaRecorder throws NotSupportedError when context destroyed, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.