[Bug 15447] support for document.write should not be required

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15447

--- Comment #4 from Stijn van Drongelen <self@tinctorius.net> 2012-01-08 14:23:33 UTC ---
I patched Firefox to implement option 2 everywhere, shallowly visited the top
sites on Alexa (got to 68 before giving up) and came to the following
conclusions:

a) I only saw two significantly broken sites: sohu.com's video section didn't
work anymore, and live.com didn't load at all.
b) The only 'legitimate' use of document.write() I have seen is conditional
loading of scripts. Even if the parser doesn't stall on script elements, I
think this can still be solved relatively easily.
c) Some sites have issues loading scripts, but need to update anyway if they
want to be HTML5 compliant. This is the case for Paypal, which tries to
document.write() links with Javascript URIs. Some web programmers believe you
can document.write() on XHTML documents.
d) I think half of the pages I visited used document.write(), but as expected,
most of the errors were related to Google Analytics, DoubleClick, SiteCatalyst
and other ad/tracking scripts. In a few instances, it was just badly written
code.

-- 
Configure bugmail: https://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 Sunday, 8 January 2012 14:25:48 UTC