+2006-10-08 Darin Adler <darin@apple.com>
+
+ 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.
+
2006-10-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.