Bug 149714

Summary: [Web IDL] 'length' property is wrong for variadic operations
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Severity: Normal CC: commit-queue, darin, rniwa, sam, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar, WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://heycam.github.io/webidl/#dfn-optional-argument
See Also: https://bugs.webkit.org/show_bug.cgi?id=149645
Description Flags
Patch none

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.