Bug 160323

Summary: window.open.length should be 0
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, darin, dbates, esprehn+autocc, kondapallykalyan, rniwa, sam
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2016-07-28 15:54:28 PDT
window.open.length should be 0 as all its parameters are optional:
- https://html.spec.whatwg.org/multipage/browsers.html#the-window-object

It is 2 in WebKit. Firefox and Chrome agree with the specification and return 0.
Comment 1 Chris Dumez 2016-07-28 15:58:06 PDT
Created attachment 284826 [details]
Patch
Comment 2 WebKit Commit Bot 2016-07-28 16:30:51 PDT
Comment on attachment 284826 [details]
Patch

Clearing flags on attachment: 284826

Committed r203849: <http://trac.webkit.org/changeset/203849>
Comment 3 WebKit Commit Bot 2016-07-28 16:30:56 PDT
All reviewed patches have been landed.  Closing bug.