[Webkit-unassigned] [Bug 14968] New: document.open() erroneously returns void instead of the new Document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 14 15:40:25 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14968
Summary: document.open() erroneously returns void instead of the
new Document
Product: WebKit
Version: 522+ (nightly)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: morganl.webkit at yahoo.com
document.open() erroneously returns void instead of the new Document
in other browsers (IE, FF, and Opera), document.open() returns the new
Document, and you can write into it to generate content.
example:
var d = document.open("text/html", "replace");
d.write("foo");
d.close();
apparently, the html5 spec does not describe this behavior:
http://www.whatwg.org/specs/web-apps/current-work/#htmldocument
mozilla defines the form of document.open that returns a new document here (as
a Netscape extension to the DOM):
http://lxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMNSHTMLDocument.idl
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list