Closed
Bug 1349480
Opened 8 years ago
Closed 8 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•8 years ago
|
Flags: needinfo?(jib)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jib
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(jib)
Updated•8 years ago
|
Rank: 25
Priority: -- → P2
Comment 2•8 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•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•8 years ago
|
Keywords: dev-doc-needed
Updated•8 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
Comment 5•8 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•