Unreviewed fix for the test. The amount of used memory was calculated incorrectly.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2011 16:58:23 +0000 (16:58 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Oct 2011 16:58:23 +0000 (16:58 +0000)
* inspector/performance/resources/network-append-30-requests.html:

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

LayoutTests/ChangeLog
LayoutTests/inspector/performance/resources/network-append-30-requests.html

index d13db1274a12917790fd0eaf261ceddf7ff0611c..3c1ffddd18e934b612f4b6b493816a4df01766c9 100644 (file)
@@ -1,3 +1,9 @@
+2011-10-10  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed fix for the test. The amount of used memory was calculated incorrectly.
+
+        * inspector/performance/resources/network-append-30-requests.html:
+
 2011-09-28  Pavel Podivilov  <podivilov@chromium.org>
 
         Web Inspector: RawSourceCode could be mapped to multiple sources.
index 01ccf191b8ba56ac7971d5a50b265a38ed1a7e05..38c37a0c132b65e5b6f2ee800e67cebfda0d381d 100644 (file)
@@ -24,12 +24,14 @@ function test()
         var cookie = InspectorTest.timer.start("network-append-30-requests");
         originalRefresh.call(this);
         InspectorTest.timer.finish(cookie);
+        WebInspector.panels.network._networkLogView._reset();
+        // In real life this array is cleaning up at navigation event.
+        WebInspector.networkLog._resources = [];
         InspectorTest.timer.done();
     }
 
     function test(timer)
     {
-        WebInspector.panels.network._networkLogView._reset();
         InspectorTest.evaluateInPage("makeXHRRequests(30)");
     }