Unreviewed fix for test.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 09:42:14 +0000 (09:42 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 09:42:14 +0000 (09:42 +0000)
* inspector/performance/resources/inspector-startup-time.html:

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

LayoutTests/ChangeLog
LayoutTests/inspector/performance/resources/inspector-startup-time.html

index d74eed072b18398bec1a59cca0e0bfca5cf3d183..9b25364632267d6cb180fe032329505cc76716d3 100644 (file)
@@ -1,3 +1,9 @@
+2011-09-28  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed fix for test.
+
+        * inspector/performance/resources/inspector-startup-time.html:
+
 2011-09-28  Ilya Tikhonovsky  <loislo@chromium.org>
 
         Web Inspector: UI performance test for Inspector start-up time is required.
index 01d9544a0f5aa86505dd3821f8c9730cbedbe0cd..4ac81c128c95e31d5a69858ba3e4c7b805d4d510 100644 (file)
@@ -16,7 +16,7 @@ function onload()
 
 function inspectorIsReady()
 {
-    times.push(Date() - startTime);
+    times.push(Date.now() - startTime);
     if (Date.now() - testStartTime > 20000) {
         layoutTestController.evaluateInWebInspector(2, "InspectorTest.dumpTestStats('inspector-startup-time', " + JSON.stringify(times) + ")")
         layoutTestController.evaluateInWebInspector(3, "(InspectorTest.completeTest())")