Closed
Bug 815582
Opened 12 years ago
Closed 12 years ago
Unsupported media types should throw a NS_ERROR_DOM_NOT_SUPPORTED_ERR
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 773986
People
(Reporter: whimboo, Unassigned)
Details
(Whiteboard: [getUserMedia])
Attachments
(1 file)
2.03 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
Right now it's possible to specify unsupported media types for the mozGetUserMedia() call. This should not be possible. Instead a 'NS_ERROR_DOM_NOT_SUPPORTED_ERR' should be thrown. Example: navigator.mozGetUserMedia({foobar: true}, function (aStream) { // is unexpectedly called }, function () {}); Instead of executing the onSuccess callback an exception should be thrown. I will attach an updated version of the basic gum exception mochitest.
Reporter | ||
Comment 1•12 years ago
|
||
Attachment #685562 -
Flags: review?(rjesup)
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•12 years ago
|
Attachment #685562 -
Flags: review?(rjesup) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•