Closed
Bug 780811
Opened 12 years ago
Closed 9 years ago
Passing incorrect object types into any of the mozGetUserMedia needs to cleanly type check and fail gracefully on failure
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
DUPLICATE
of bug 882145
backlog | parking-lot |
People
(Reporter: jsmith, Unassigned)
Details
Steps:
Call mozGetUserMedia with an incorrect object type for any of the parameters. Example:
mozGetUserMedia(1, function() {}, function() {});
Expected:
A TypeError should be thrown when an incorrect parameter is seen.
Actual:
Nasty-like error was thrown instead (unchecked exception):
Timestamp: 8/6/2012 8:40:09 PM
Error: NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIDOMNavigatorUserMedia.mozGetUserMedia]
Source File: file:///C:/Users/jsmith/Documents/Camera%20API/Simple%20Scratchpad.html
Line: 19
Reporter | ||
Updated•12 years ago
|
Whiteboard: [getUserMedia], [blocking-gum+]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [getUserMedia], [blocking-gum+] → [getUserMedia], [blocking-gum-]
Comment 1•9 years ago
|
||
Is this still correct, and if so what should we do?
backlog: --- → parking-lot
Flags: needinfo?(jib)
QA Contact: jsmith
Whiteboard: [getUserMedia], [blocking-gum-]
Comment 2•9 years ago
|
||
OBE.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•