[Webkit-unassigned] [Bug 21257] JS bindings should throw when too few arguments are passed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 30 19:01:09 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21257


sam at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at webkit.org




------- Comment #1 from sam at webkit.org  2008-09-30 19:01 PDT -------
I am not against this change in principle (matching other browsers makes
sense), but I am curious if there are any known sites where our behavior breaks
things.  The behavior we have matches that of how functions defined in the
ECMAScript act, and how we perceive most JS developers think about JS functions
(most don't check that arguments.length is the correct value).  If we do make a
change, we should discuss standardizing the behavior in the WebIDL
specification, if that has not already been done. 


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list