commit | a8af558737605594198f4be5ccfae4d2f8a7a404 | [log] [tgz] |
---|---|---|
author | jl@opera.com <jl@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Jun 05 11:28:58 2014 |
committer | jl@opera.com <jl@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Jun 05 11:28:58 2014 |
tree | a55930a8babb5217383baccc5a80d5206531e803 | |
parent | 1a949bb91b6753e3eec783b1338852bf1b4723df [diff] |
Set 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 Review URL: https://codereview.chromium.org/296403007 git-svn-id: svn://svn.chromium.org/blink/trunk@175559 bbb929c8-8fbe-4397-9dbb-9b2b20218538