Closed
Bug 1349480
Opened 6 years ago
Closed 6 years ago
getUserMedia({}) returns NotSupportedError
Categories
(Core :: WebRTC, enhancement, P2)
Core
WebRTC
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"
Reporter | ||
Updated•6 years ago
|
Flags: needinfo?(jib)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jib
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(jib)
Updated•6 years ago
|
Rank: 25
Priority: -- → P2
Comment 2•6 years 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+
Pushed by jbruaroey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6bca6e1a0f8 s/NotSupportedError/TypeError for getUserMedia({}) r=jesup
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b6bca6e1a0f8
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Keywords: dev-doc-needed
Updated•6 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Comment 5•6 years ago
|
||
Updated: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia https://developer.mozilla.org/en-US/Firefox/Releases/55
You need to log in
before you can comment on or make changes to this bug.
Description
•