[Webkit-unassigned] [Bug 14757] HTMLTokenizer::processingData implementation is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 18:23:58 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14757





------- Comment #8 from mpComplete at gmail.com  2007-07-25 18:23 PDT -------
Ok, this test hangs for the same reason that I was seeing the bug to begin
with.  There is a JS call to window.stop() in the body of this test, which gets
executed synchronously while parsing the document.  That means that we cancel
the load of the page from within HTMLTokenizer::write.  As soon as we cancel,
we check if the load is complete - since we're still parsing, this check fails.

I believe a reasonable fix would be to do the checkLoadComplete call
asynchronously in this case.  (Of course, we'd still have to cancel the load
mid-parsing.)  If you guys agree, I'll have a patch ready shortly.


-- 
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