Bug 1820724 [wpt PR 38846] - MediaRecorder throws NotSupportedError when context...
commit2d8425fa4d618a6ab2e6f43d7914797727946d4f
authorFrançois Beaufort <beaufort.francois@gmail.com>
Mon, 20 Mar 2023 18:02:57 +0000 (20 18:02 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 29 Mar 2023 12:50:04 +0000 (29 12:50 +0000)
treeede5d0f1ba46d8a2fdd94a5b96b91825475f55f7
parent56adec9e07b715612b2951ded621a2173e415583
Bug 1820724 [wpt PR 38846] - MediaRecorder throws NotSupportedError when context destroyed, a=testonly

Automatic update from web-platform-tests
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/c/chromium/src/+/4307250
Commit-Queue: Fr <beaufort.francois@gmail.com>
Reviewed-by: Markus Handell <handellm@google.com>
Cr-Commit-Position: refs/heads/main@{#1113837}

--

wpt-commits: 7065fcb6a43d32bf3306922600339aaea2d56e0c
wpt-pr: 38846
testing/web-platform/tests/mediacapture-record/MediaRecorder-detached-context.html