[Webkit-unassigned] [Bug 139179] HTMLSelectElement add() should support index as second argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 21 17:38:03 PST 2014


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

--- Comment #26 from Darin Adler <darin at apple.com> ---
(In reply to comment #25)
> (In reply to comment #24)
> > In the short term, I’m sure you can find a way to get the null case to be
> > handled the way it was before. It might depend on the order the two
> > overloads are defined in the IDL file. Not sure, might require a little bit
> > of research.
> 
> Yes, the order of the overloads in the IDL file matters. The ones with the
> most specific argument types should come first (because the bindings
> generators will adds the argument type checks in the same order as in the
> IDL, in order to call the right overload function in the implementation).

I think that means that if we put the version that takes the long index first in the IDL file, then null will be handled as before. Please try that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141222/a0c37a93/attachment-0002.html>


More information about the webkit-unassigned mailing list