Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As per documentation src is a mandatory but in argscheck it is optional. Due to this in some unit tests 'undefined' is passed to native proxy and may cause some issues (for example I see related internal errors on Windows)
var Media = function(src, successCallback, errorCallback, statusCallback) {
argscheck.checkArgs('SFFF', 'Media', arguments);
this.id = utils.createUUID();
mediaObjects[this.id] = this;
this.src = src;
...
exec(null, this.errorCallback, "Media", "create", [this.id, this.src]);
}