Reviewed by Maciej.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jul 2006 06:34:15 +0000 (06:34 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 Jul 2006 06:34:15 +0000 (06:34 +0000)
commitaee70222415685072cf146a48338bdcc60c3fd34
treedd8f633f32b05f7f5e8f0a3a88ac3eafe1445d6e
parentc8309ad163be3fc5c63bf516713aa587f975ad7b
    Reviewed by Maciej.

        <rdar://problem/4609195> Help Viewer loads empty window
        (not getting didFailLoadingWithError: callback)

        Call super's didFailWithError before _receivedMainResourceError
        because _receivedMainResourceError will cause the datasource's
        frame to be set to nil before the didFailLoadingWithError delegate
        callback is sent. (This order is needed now that WebDataSource does
        not hold on to the WebView; it uses the WebFrame to get to the WebView.
        If the WebFrame is nil we can't get to the WebView's resource load delegate.)

        * WebView/WebMainResourceLoader.m:
        (-[WebMainResourceLoader receivedError:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView/WebMainResourceLoader.m