Drop custom bindings code for HTMLOptionsCollection.remove() and use overloading instead.
Generated code looks like so: EncodedJSValue JSC_HOST_CALL jsHTMLOptionsCollectionPrototypeFunctionRemove(ExecState* state) { size_t argsCount = std::min<size_t>(1, state->argumentCount()); if (argsCount == 1) { JSValue distinguishingArg = state->uncheckedArgument(0); if (distinguishingArg.isObject() && asObject(distinguishingArg)->inherits(JSHTMLOptionElement::info())) return jsHTMLOptionsCollectionPrototypeFunctionRemove2(state); if (distinguishingArg.isNumber()) return jsHTMLOptionsCollectionPrototypeFunctionRemove1(state); return jsHTMLOptionsCollectionPrototypeFunctionRemove1(state); } return argsCount < 1 ? throwVMError(state, createNotEnoughArgumentsError(state)) : throwVMTypeError(state); }
Created attachment 285155 [details] Patch
Created attachment 285158 [details] Patch
Comment on attachment 285158 [details] Patch Clearing flags on attachment: 285158 Committed r204063: <http://trac.webkit.org/changeset/204063>
All reviewed patches have been landed. Closing bug.