[Webkit-unassigned] [Bug 80005] V8 javascript engine should throw an exception on this case
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 4 22:49:59 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80005
--- Comment #3 from Yanbin <yanbin.zhang at intel.com> 2012-03-04 22:49:59 PST ---
I also try following JS code.
var mycallBackExample = {
myFirstFunction : function( param1, param2, callback ) {
// Do something with param1 and param2.
if ( arguments.length == 3 ) {
// Execute callback function.
// What is the "best" way to do this?
}
},
mySecondFunction : function() {
myFirstFunction( false, true, function() {
// When this anonymous function is called, execute it.
});
}
};
It also don't throw exception when we call mycallBackExample.myFirstFunction(false,true,{})
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list