DescriptionIDL: Support runtime enabled overloads affecting Function.length
Before this CL, a runtime enabled overload with fewer required arguments
than any non-runtime enabled overload resulted in an error from the IDL
compiler, since such an overload would change the correct Function.length
value (runtime) in a way that wasn't supported.
Since such overloads are now becoming a reality, add support for them by
generating a simple function that returns the correct Function.length
value depending on whether features are enabled.
BUG=437885
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186393
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebased #Patch Set 3 : eliminate "info.Length() < 0" branches #Messages
Total messages: 9 (2 generated)
|