Closed Bug 1670561 Opened 4 years ago Closed 3 years ago

WPT failure in MediaRecorder-stop.html: MediaRecorder will fire start event even if stopped synchronously - promise_test: Unhandled rejection with value: object "TypeError: can't access property "getUserMedia", navigator.mediaDevices is undefined"

Categories

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

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

Details

Attachments

(2 files)

mediaDevices is undefined because MediaRecorder-stop.html is a http test and MediaDevices is [SecureContext]. We have a pref to enable it, but I'd rather do this proper and keep it working by default in an http context.

There is no particular reason for using getUserMedia to get audio and video tracks here.

Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/69d0b72ff6df
Use a utils library for creating media streams in MediaRecorder wpt. r=jib
https://hg.mozilla.org/integration/autoland/rev/40fc0fa2aef2
Don't use getUserMedia in a http WPT. r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26447 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: