Commit a8df9fbf authored by rjw's avatar rjw
Browse files

Don't attempt to restore page from page cache if the cache

        doesn't contain valid page state.  This may happen after a
        redirect.  Fixes 3137430.

        Reviewed by kocienda.

        * History.subproj/WebHistoryItem.m:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c594b671
2003-01-01 Richard Williamson <rjw@apple.com>
Don't attempt to restore page from page cache if the cache
doesn't contain valid page state. This may happen after a
redirect. Fixes 3137430.
Reviewed by kocienda.
* History.subproj/WebHistoryItem.m:
2002-12-31 Darin Adler <darin@apple.com>
Reviewed by Trey.
......
......@@ -460,7 +460,7 @@ @implementation WebHistoryItem (WebPrivate)
- (BOOL)hasPageCache;
{
return pageCache != nil;
return pageCache != nil && [pageCache objectForKey:@"WebCorePageState"] != nil;
}
+ (void)_invalidateReleaseTimer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment