DescriptionSet correct Function.length on overloaded and variadic methods
According to WebIDL, the Function.length property should be the length of
shortest argument list in the effective overload set for argument count 0.
This means for instance that variadic arguments don't contribute to the
length.
BUG=377718
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175559
Patch Set 1 #
Total comments: 6
Patch Set 2 : rebased #Patch Set 3 : fix variadics + add tests #
Total comments: 4
Patch Set 4 : move logic to Python #
Total comments: 5
Patch Set 5 : addressed nits #
Messages
Total messages: 19 (0 generated)
|