W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[Bug 9767] Consider ignoring document.write() when IE ignores it if comes from the network task source

From: <bugzilla@jessica.w3.org>
Date: Tue, 13 Jul 2010 00:53:29 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OYTkX-0008Vx-1l@jessica.w3.org>

--- Comment #16 from Adam Barth <w3c@adambarth.com>  2010-07-13 00:53:28 ---
I implemented the following behavior in WebKit:

1) If we receive a document.write without a current insertion point, we attempt
to append it to the end of the input steam.
2) If (1) would result in appending to the input stream after the EOF
character, then we ignore the call to document.write.

This is similar what Henri suggests.  The mental model is that we always
"append" if there's no current insertion point, but appending after the EOF
character is pretty useless since the EOF character stops the parsing
algorithm.  :)

Hopefully we'll get some data about whether this approach is sufficiently

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 13 July 2010 00:53:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC