[Bug 9767] Consider ignoring document.write() when IE ignores it if IE has a sane condition for ignoring it

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9767





--- Comment #3 from Henri Sivonen <hsivonen@iki.fi>  2010-05-20 13:18:24 ---
(In reply to comment #2)
> That sounds like a possible solution. Though I think I'd like to wait a bit
> longer before making changes to the spec until we see that it's really
> necessary. So far we've just heard of two sites breaking.

Ignoring document.write() coming from a <script src> completing fetch when the
insertion point is undefined would mitigate 4 out of the total 6 open HTML5
parser evang bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=542104
https://bugzilla.mozilla.org/show_bug.cgi?id=553795
https://bugzilla.mozilla.org/show_bug.cgi?id=565938
https://bugzilla.mozilla.org/show_bug.cgi?id=527635
(Additionally, there was the case of content-injecting [ad injecting?]
router-based MITM malware.)

That is, the result wouldn't be what the site meant but the effect on the user
would be missing out on some ads instead of getting a blank page.

(The 2 other HTML5 parser evang bugs are
https://bugzilla.mozilla.org/show_bug.cgi?id=540480
https://bugzilla.mozilla.org/show_bug.cgi?id=565689 )

-- 
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 Thursday, 20 May 2010 13:18:29 UTC