[Webkit-unassigned] [Bug 109995] LayoutTests/fast/encoding/parser-tests-*.html timeout with threaded HTML parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 15:07:44 PST 2013


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





--- Comment #8 from Eric Seidel <eric at webkit.org>  2013-02-20 15:10:07 PST ---
We now understand what's going on here.

Previously DocumentLoader::stopLoading() would think it was still loading (because it was on the stack and thus still had a main resource loader), and thus send an error callback to the embedder when removing the iframe.

In the threaded case, the DocumentLoader believes the load is complete by the time the removeChild call is made on the iframe, and stopLoading() has code to guard against being called twice, if DocumentLoader::loading() is already false.

Our current theory is that we might make DocumentLoader::loading() notice that the parser is still active and return true until it's done.  This will require the parser to call checkCompleted() when it's done, but it already calls FrameLoader::checkCompleted() and could be made to call DocumentLoader::checkCompleted() as well if necessary.

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