[Webkit-unassigned] [Bug 94790] Derived JS binding code throws a different exception than the normal one for overloaded functions when argument count is not enough
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 23 02:27:54 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94790
--- Comment #3 from Xiaobo Wang <xiaobo.wang at torchmobile.com.cn> 2012-08-23 02:27:52 PST ---
(In reply to comment #2)
> (From update of attachment 160116 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=160116&action=review
>
> > Source/WebCore/ChangeLog:8
> > + Throw NotEnoughArguments exception for overloaded functions if actualrgument
>
> Typo: actual argument
Oops, sorry for the typo.
>
> > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:1336
> > + my $leastNumMandatoryParams = 255;
>
> Where does 255 come from?
Just want to initialize variable $leastNumMandatoryParams with a number big enough for argument count, do you think 255 is a reasonable number?
--
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