Bug 149714 - [Web IDL] 'length' property is wrong for variadic operations
Summary: [Web IDL] 'length' property is wrong for variadic operations
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://heycam.github.io/webidl/#dfn-...
Keywords: InRadar, WebExposed
Depends on:
Reported: 2015-10-01 10:54 PDT by Chris Dumez
Modified: 2015-10-06 10:20 PDT (History)
6 users (show)

See Also:

Patch (17.36 KB, patch)
2015-10-01 11:35 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2015-10-01 10:54:32 PDT
'length' property is wrong for variadic operations:

The final argument of a variadic operation is also considered to be an optional argument, so we should not account for it when computing the value of the 'length' property.
Comment 1 Chris Dumez 2015-10-01 11:35:00 PDT
Created attachment 262271 [details]
Comment 2 Radar WebKit Bug Importer 2015-10-01 11:36:40 PDT
Comment 3 WebKit Commit Bot 2015-10-06 10:20:54 PDT
Comment on attachment 262271 [details]

Clearing flags on attachment: 262271

Committed r190621: <http://trac.webkit.org/changeset/190621>
Comment 4 WebKit Commit Bot 2015-10-06 10:20:59 PDT
All reviewed patches have been landed.  Closing bug.