Fixed <rdar://problem/4062490> REGRESSION (WebKit-408): no subresources reported...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Mar 2005 23:55:41 +0000 (23:55 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Mar 2005 23:55:41 +0000 (23:55 +0000)
Stop collecting subresource responses after the document
had loaded, not after it has been opened.

        Reviewed by Chris.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8965 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebFrame.m

index f7445949f45917deef52413256561c618ab1d6d3..562a6c080739556a0d825c40812f69d2d7e435db 100644 (file)
@@ -1,3 +1,16 @@
+2005-03-23  Richard Williamson   <rjw@apple.com>
+
+       Fixed <rdar://problem/4062490> REGRESSION (WebKit-408): no subresources reported in Activity window after going back at hrweb.apple.com
+
+       Stop collecting subresource responses after the document
+       had loaded, not after it has been opened.
+
+        Reviewed by Chris.
+
+        * WebView.subproj/WebFrame.m:
+        (-[WebFrame _setState:]):
+        (-[WebFrame _opened]):
+
 2005-03-21  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Darin.
index 87790be5ebdf36554ccadd96da0434443c8142f5..a6f0c8279957964383b1607034d3fe438faf25b6 100644 (file)
@@ -1022,6 +1022,8 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
             [sv setDrawsBackground:YES];
         [_private setPreviousItem:nil];
         _timeOfLastCompletedLoad = CFAbsoluteTimeGetCurrent();
+
+        [[self dataSource] _stopRecordingResponses];
     }
 }
 
@@ -1065,8 +1067,6 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
         [[self dataSource] _setPrimaryLoadComplete: YES];
         [self _checkLoadCompleteForThisFrame];
     }
-
-    [[self dataSource] _stopRecordingResponses];
 }
 
 - (void)_checkLoadCompleteForThisFrame