Commit 345bce15 authored by rjw's avatar rjw

Fixed 3129951. Don't allow pages that are stopping to enter the page cache.

        (Fixed yesterday, forgot to checkin.)

        Reviewed by trey.

        * WebView.subproj/WebFramePrivate.m:
        (-[WebFrame _setState:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b1432259
2002-12-18 Richard Williamson <rjw@apple.com>
Fixed 3129951. Don't allow pages that are stopping to enter the page cache.
(Fixed yesterday, forgot to checkin.)
Reviewed by trey.
* WebView.subproj/WebFramePrivate.m:
(-[WebFrame _setState:]):
2002-12-18 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin and Trey.
......
......@@ -708,6 +708,7 @@ - (void)_setState: (WebFrameState)newState
&& loadType != WebFrameLoadTypeReloadAllowingStaleData
&& loadType != WebFrameLoadTypeSame
&& ![[self dataSource] isLoading]
&& ![[self dataSource] _isStopping]
&& [[[self dataSource] representation] isKindOfClass: [WebHTMLRepresentation class]])
{
if (![item pageCache]){
......@@ -864,7 +865,6 @@ - (void)_isLoadComplete
//if ([ds isDocumentHTML])
// [[ds representation] part]->closeURL();
return;
}
// A resource was loaded, but the entire frame isn't complete. Schedule a
......
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