DescriptionIDL: Determine maximum distinguishing argument index runtime, if needed
If an overloaded method is partially runtime enabled such that its
"longest" overload(s) might be disabled, we need to determine the
maximum distinguishing argument index runtime, to avoid using an index
for which all actual overloads are disabled, since that would typically
cause us to incorrectly reject the call as not matching any overload.
The implementation is largely a copy of the existing and very similar
runtime determination of the correct Function.length value.
While we're at it, drop the overloads['minarg'] value, which was just a
less accurate variant of overloads['length'] used in a few places where
it didn't really matter anyway.
BUG=486249
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195251
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 7 (2 generated)
|