[Webkit-unassigned] [Bug 40047] REGRESSION(60409): document.write is not synchronous when using the HTML5 parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 2 00:30:39 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40047





--- Comment #2 from Eric Seidel <eric at webkit.org>  2010-06-02 00:30:38 PST ---
I've tested and confirmed:  The old parser does not block document.write() for <script src> loads, however it won't actually process any contents of the write (or future writes) after the <script src> until that script has loaded.

I think the easiest way out of this is to remove the blocking of inline <script> tags on stylesheet loads.  To do so, we'd probably have to spin the event loop inside the parser like recommend by the HTML5 spec.  I don't really want to write that code (I am not even sure it's possible to spin the event loop from WebCore).  I think that's something we can deal with after we turn the HTML5 parser on as the default parser.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list