LayoutTests:

        Reviewed by Brady

        Test for http://bugs.webkit.org/show_bug.cgi?id=14757
        HTMLTokenizer::processingData implementation is incorrect

        * http/tests/loading/slow-parsing-subframe-expected.txt: Added.
        * http/tests/loading/slow-parsing-subframe.html: Added.

WebCore:

        Reviewed by Brady and Darin, tweaked by Brady, landed by Brady

        Fix for http://bugs.webkit.org/show_bug.cgi?id=14757 and <rdar://problem/5364692>
        HTMLTokenizer::processingData implementation is incorrect

        * html/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::processingData): Made it also return true if the HTMLTokenizer was inside the write() call.
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::FrameLoader):
        (WebCore::FrameLoader::checkLoadCompleteTimerFired):
        (WebCore::FrameLoader::scheduleCheckLoadComplete):
        (WebCore::FrameLoader::stopForUserCancel): Changed a call to checkLoadComplete to be asynchronous, since
        stopForUserCancel can be called while parsing.
        * loader/FrameLoader.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9 files changed