Commit the change meant to be included in the previous commit.
[WebKit-https.git] / PerformanceTests / Speedometer / resources / main.js
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);