2010-09-20 Jacob Dinu <dinu.jacob@nokia.com>
authorcommit-queue <commit-queue@webkit.org>
Mon, 20 Sep 2010 20:20:25 +0000 (20:20 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 20 Sep 2010 20:50:52 +0000 (17:50 -0300)
commitab9219b6110a84898f18a6a962ea9eedddd1102e
tree248c2433ac4acf0addea58bc7975d7851cc72145
parentdb31c6a0f43e029b26600fd5713f7792f645346b
2010-09-20  Jacob Dinu  <dinu.jacob@nokia.com>

        Reviewed by Adam Barth.

        When loading a cached page, dispatchDidCommitLoad is called after FrameLoader::open so
        that all initialzations are done before calling client dispatchDidCommitLoad to avoid
        client from accessing incorrect data.
        https://bugs.webkit.org/show_bug.cgi?id=41155

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::commitProvisionalLoad):
        (WebCore::FrameLoader::transitionToCommitted):
2010-09-20  Jacob Dinu  <dinu.jacob@nokia.com>

        Reviewed by Adam Barth.

        Added a new qwebpage test for loading a cached page
        https://bugs.webkit.org/show_bug.cgi?id=41155

        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::loadCachedPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/loader/FrameLoader.cpp
WebKit/qt/ChangeLog
WebKit/qt/tests/qwebpage/tst_qwebpage.cpp