getUserMedia({}) returns NotSupportedError

RESOLVED FIXED in Firefox 55

Status

()

Core
WebRTC
P2
normal
Rank:
25
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: fippo, Assigned: jib)

Tracking

({dev-doc-complete})

unspecified
mozilla55
dev-doc-complete
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Reporter)

Description

a year ago
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"
(Reporter)

Updated

a year ago
Flags: needinfo?(jib)
Assignee: nobody → jib
Comment hidden (mozreview-request)
Flags: needinfo?(jib)

Updated

a year ago
Rank: 25
Priority: -- → P2

Comment 2

a year ago
mozreview-review
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+

Comment 3

a year ago
Pushed by jbruaroey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6bca6e1a0f8
s/NotSupportedError/TypeError for getUserMedia({}) r=jesup

Comment 4

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/b6bca6e1a0f8
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Keywords: dev-doc-needed
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.