Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2006 15:37:15 +0000 (15:37 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Apr 2006 15:37:15 +0000 (15:37 +0000)
        - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
          DumpRenderTree should reset the URL cache

        * DumpRenderTree/DumpRenderTree.m:
        (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].

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

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m

index 87b6aa2..82b1257 100644 (file)
@@ -1,3 +1,13 @@
+2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
+
+        Reviewed by Darin.
+
+        - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
+          DumpRenderTree should reset the URL cache
+
+        * DumpRenderTree/DumpRenderTree.m:
+        (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
+
 2006-04-28  Eric Seidel  <eseidel@apple.com>
 
         Reviewed by andersca.
index 1d77746..ef1428a 100644 (file)
@@ -298,6 +298,8 @@ int main(int argc, const char *argv[])
     signal(SIGXCPU, crashHandler);   /* 24:  exceeded CPU time limit */
     signal(SIGXFSZ, crashHandler);   /* 25:  exceeded file size limit */
     
+    [[NSURLCache sharedURLCache] removeAllCachedResponses];
+    
     // For reasons that are not entirely clear, the following pair of calls makes WebView handle its
     // dynamic scrollbars properly. Without it, every frame will always have scrollbars.
     NSBitmapImageRep *imageRep = [webView bitmapImageRepForCachingDisplayInRect:[webView bounds]];