Bug 149714

Summary: [Web IDL] 'length' property is wrong for variadic operations
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: BindingsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
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
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2015-10-01 10:54:32 PDT
'length' property is wrong for variadic operations: https://heycam.github.io/webidl/#dfn-optional-argument 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.
Attachments
Patch (17.36 KB, patch)
2015-10-01 11:35 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-10-01 11:35:00 PDT
Radar WebKit Bug Importer
Comment 2 2015-10-01 11:36:40 PDT
WebKit Commit Bot
Comment 3 2015-10-06 10:20:54 PDT
Comment on attachment 262271 [details] Patch Clearing flags on attachment: 262271 Committed r190621: <http://trac.webkit.org/changeset/190621>
WebKit Commit Bot
Comment 4 2015-10-06 10:20:59 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.