Closed Bug 1349480 Opened 8 years ago Closed 8 years ago

getUserMedia({}) returns NotSupportedError

Categories

(Core :: WebRTC, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: fippo, Assigned: jib)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

var p = navigator.mediaDevices.getUserMedia({}) .then(() => console.log("how?")) .catch((e) => console.error('catch', e)) returns a NotSupportedError instead of a TypeError as required by https://w3c.github.io/mediacapture-main/#mediadevices-interface-extensions "3. If requestedMediaTypes is the empty set, return a promise rejected with a TypeError"
Flags: needinfo?(jib)
Assignee: nobody → jib
Flags: needinfo?(jib)
Rank: 25
Priority: -- → P2
Comment on attachment 8849992 [details] Bug 1349480 - s/NotSupportedError/TypeError for getUserMedia({}) https://reviewboard.mozilla.org/r/122742/#review125776
Attachment #8849992 - Flags: review?(rjesup) → review+
Pushed by jbruaroey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6bca6e1a0f8 s/NotSupportedError/TypeError for getUserMedia({}) r=jesup
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: