This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26564 - "When called with two arguments, the document.open() method must act as follows:" - probably should [...]
Summary: "When called with two arguments, the document.open() method must act as follo...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 06:04 UTC by contributor
Modified: 2014-09-15 22:46 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-08-13 06:04:08 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#dom-document-open
Complete: http://www.whatwg.org/c#dom-document-open
Referrer: 

Comment:
"When called with two arguments, the document.open() method must act as
follows:" - probably should read "When called with two OR LESS arguments",
otherwise how the document.open() (without arguments, referred to in
document.write()) should be handled?

Posted from: 94.75.209.155 by manish.tripathi.777@gmail.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Comment 1 Ian 'Hixie' Hickson 2014-08-18 20:43:43 UTC
Technically, WebIDL always calls it with two arguments even if you omit them, because they're optional at the WebIDL level. But I can make that clearer.
Comment 2 contributor 2014-09-15 22:46:44 UTC
Checked in as WHATWG revision r8773.
Check-in comment: document.open() is always called with two arguments given WebIDL argument defaulting, but add a parenthetical 'or fewer' so we don't have to explain that.
https://html5.org/tools/web-apps-tracker?from=8772&to=8773