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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 17:13:56 PDT 2010


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





--- Comment #24 from Sam Weinig <sam at webkit.org>  2010-06-04 17:13:53 PST ---
(In reply to comment #23)
> > For the record, I don't think the benefit of making this change is worth the cost.
> 
> You've come a long way from offering to write the patch yourself.  :)

A lot changes in ~2 years :) .  That said, I think adding the plumbing to at least warn in the console is not something I oppose (in fact I support it).

> 
> > This won't show all the failures that will come up in things like dashboard widgets or mobile WebKit sites, that were designed to work for only for WebKit.
> 
> That's true.  Engine-specific code is sadness.
> 
> Maybe that's a point worth bringing up to the WebIDL standards committee?  IMHO, it's a lot easier to change to not throwing exceptions than it is to change to throwing exceptions.

I am considering making this change.

-- 
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