Closed
Bug 1181896
Opened 10 years ago
Closed 10 years ago
Change gUM() NotFoundError to OverconstrainedError for constraint-failures
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla43
| backlog | webrtc/webaudio+ |
People
(Reporter: jib, Assigned: jib)
References
Details
Attachments
(2 files)
Right now, getUserMedia(impossibleConstraints) fails with NotFoundError.
Per https://github.com/w3c/mediacapture-main/pull/213 and #194 it should fail with OverconstrainedError, with an error.constraintName attribute containing the name of one of the offending constraints.
Updated•10 years ago
|
backlog: --- → webRTC+
Rank: 35
| Assignee | ||
Comment 1•10 years ago
|
||
Bug 1181896 - rename .constraintName to .constraint in MediaStreamError
Attachment #8663073 -
Flags: review?(rjesup)
Attachment #8663073 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 2•10 years ago
|
||
Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument.
Attachment #8663074 -
Flags: review?(rjesup)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jib
Comment 3•10 years ago
|
||
Comment on attachment 8663073 [details]
MozReview Request: Bug 1181896 - rename .constraintName to .constraint in MediaStreamError
https://reviewboard.mozilla.org/r/19701/#review17731
r=me
Attachment #8663073 -
Flags: review?(bzbarsky) → review+
Comment 4•10 years ago
|
||
Comment on attachment 8663074 [details]
MozReview Request: Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument.
https://reviewboard.mozilla.org/r/19703/#review17739
::: dom/media/MediaManager.cpp:1001
(Diff revision 1)
> + // requires updating as new constraints are added!
Put a pointer to this code in whatever file defines constraints (webidl probably) so that people remember to update this when new constraints are added.
Attachment #8663074 -
Flags: review?(rjesup) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8663073 [details]
MozReview Request: Bug 1181896 - rename .constraintName to .constraint in MediaStreamError
https://reviewboard.mozilla.org/r/19701/#review17741
Attachment #8663073 -
Flags: review?(rjesup) → review+
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8663073 [details]
MozReview Request: Bug 1181896 - rename .constraintName to .constraint in MediaStreamError
Bug 1181896 - rename .constraintName to .constraint in MediaStreamError
| Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8663074 [details]
MozReview Request: Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument.
Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument.
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 8•10 years ago
|
||
Any chance someone could land this before merge?
Flags: needinfo?(rjesup)
https://hg.mozilla.org/integration/mozilla-inbound/rev/d03c69e05eed
https://hg.mozilla.org/integration/mozilla-inbound/rev/4013ca84d244
Keywords: checkin-needed
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d03c69e05eed
https://hg.mozilla.org/mozilla-central/rev/4013ca84d244
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•10 years ago
|
Flags: needinfo?(rjesup)
You need to log in
before you can comment on or make changes to this bug.
Description
•