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

Chris Dumez
Reported 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.
Attachments
Patch (7.18 KB, patch)
2016-07-28 15:58 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-07-28 15:58:06 PDT
WebKit Commit Bot
Comment 2 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>
WebKit Commit Bot
Comment 3 2016-07-28 16:30:56 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.