Reviewed by Mitz.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Oct 2006 20:42:22 +0000 (20:42 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Oct 2006 20:42:22 +0000 (20:42 +0000)
commit36de84df4b3c3f65690fc62c8e178645b96a8c41
tree734f108b49c0822e735bfb9556d39ecd23de5b7f
parent4d737e404f6b21604a27b3b745a15aa9b4b6f710
    Reviewed by Mitz.

        - fix http://bugs.webkit.org/show_bug.cgi?id=11218
          REGRESSION: Assertion failure in WebFrameLoader when going back from a file: or data: URL

        Also added a helper function in WebFrameLoader so code that checks for back/forward load types
        is easier to read.

        * Loader/WebFrameLoader.m:
        (-[WebFrameLoader _setPolicyDocumentLoadState:]): Fixed line of code that was setting the load
        state to nil instead of the passed-in object.
        (isBackForwardLoadType): Added.
        (-[WebFrameLoader shouldReloadToHandleUnreachableURLFromRequest:]): Use isBackForwardLoadType.
        (-[WebFrameLoader checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]):
        Ditto.
        (-[WebFrameLoader continueLoadRequestAfterNavigationPolicy:formState:]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Loader/WebFrameLoader.m