Bug 132901

Summary: [getUserMedia] getUserMedia() errorCallback MUST be validated
Product: WebKit Reporter: Kiran <kiran.guduru>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, glenn, hta, jer.noble, lucas.de.marchi, philipj, sergio, tommyw
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Validation missing for getUserMedia errorCallBack none

Description Kiran 2014-05-14 03:56:39 PDT
Validation for getUserMedia() errorCallback is missing.
According to spec, successCallBack and errorCallBack are non-nullable and mandatory [1].
But code is validating successCallBack but missing to validate errorCallBack.

[1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-NavigatorUserMedia-getUserMedia-void-MediaStreamConstraints-constraints-NavigatorUserMediaSuccessCallback-successCallback-NavigatorUserMediaErrorCallback-errorCallback
Comment 1 Kiran 2014-05-14 04:12:48 PDT
Created attachment 231442 [details]
Validation missing for getUserMedia errorCallBack

Please review the patch for validating getUserMedia errorCallback.
Comment 2 WebKit Commit Bot 2014-05-14 09:59:45 PDT
Comment on attachment 231442 [details]
Validation missing for getUserMedia errorCallBack

Clearing flags on attachment: 231442

Committed r168842: <http://trac.webkit.org/changeset/168842>
Comment 3 WebKit Commit Bot 2014-05-14 09:59:49 PDT
All reviewed patches have been landed.  Closing bug.