Fix bad operation overloads in our IDL files. As per Web IDL [1], two types are distinguishable if at most one of the two includes a nullable type. However, we have overloads in WebKit with more than one nullable type as distinguishing parameter. We need to fix this so that the bindings generator can generate more correct code. See following comment in AreTypesDistinguishableForOverloadResolution() in the bindings generator: # FIXME: The WebIDL mandates this but this currently does not work because some of our IDL is wrong. # return 0 if $idlTypeA->isNullable && $idlTypeB->isNullable; [1] https://heycam.github.io/webidl/#dfn-distinguishable
Created attachment 292370 [details] Patch
Created attachment 292532 [details] Patch
Comment on attachment 292532 [details] Patch Clearing flags on attachment: 292532 Committed r207725: <http://trac.webkit.org/changeset/207725>
All reviewed patches have been landed. Closing bug.