Commit the change meant to be included in the previous commit.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2017 21:03:53 +0000 (21:03 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2017 21:03:53 +0000 (21:03 +0000)
* Speedometer/resources/main.js:
(startBenchmark):

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

PerformanceTests/ChangeLog
PerformanceTests/Speedometer/resources/main.js

index a44e6c7..cd4b8bb 100644 (file)
@@ -1,5 +1,12 @@
 2017-08-22  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Commit the change meant to be included in the previous commit.
+
+        * Speedometer/resources/main.js:
+        (startBenchmark):
+
+2017-08-22  Ryosuke Niwa  <rniwa@webkit.org>
+
         Speedometer 2.0: Make it possible to change the iteration count via query string
         https://bugs.webkit.org/show_bug.cgi?id=175811
 
index e38e397..d5d71c4 100644 (file)
@@ -165,7 +165,7 @@ function startBenchmark() {
                 break;
             case 'iterationCount':
                 var parsedValue = parseInt(value);
-                if (!isNaN(value))
+                if (!isNaN(parsedValue))
                     benchmarkClient.iterationCount = parsedValue;
                 else
                     console.error('Invalid iteration count: ' + value);