[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:33:48 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139179
Chris Dumez <cdumez at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cdumez at apple.com
--- Comment #25 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #24)
> (In reply to comment #23)
> > We can use Union types as in http://www.w3.org/TR/WebIDL/#idl-union. is it
> > supported ?
>
> I don’t think the bindings scripts handle those. Someone could do that
> project at some point.
This is correct. The WebKit bindings generator doesn't currently support unions.
> 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).
--
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/51e3fb28/attachment-0002.html>
More information about the webkit-unassigned
mailing list