From 949e54353f4b6768632a210aeef8590c6ec845db Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Tue, 22 Aug 2017 21:03:53 +0000 Subject: [PATCH] Commit the change meant to be included in the previous commit. * Speedometer/resources/main.js: (startBenchmark): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221045 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- PerformanceTests/ChangeLog | 7 +++++++ PerformanceTests/Speedometer/resources/main.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/PerformanceTests/ChangeLog b/PerformanceTests/ChangeLog index a44e6c7..cd4b8bb 100644 --- a/PerformanceTests/ChangeLog +++ b/PerformanceTests/ChangeLog @@ -1,5 +1,12 @@ 2017-08-22 Ryosuke Niwa + Commit the change meant to be included in the previous commit. + + * Speedometer/resources/main.js: + (startBenchmark): + +2017-08-22 Ryosuke Niwa + Speedometer 2.0: Make it possible to change the iteration count via query string https://bugs.webkit.org/show_bug.cgi?id=175811 diff --git a/PerformanceTests/Speedometer/resources/main.js b/PerformanceTests/Speedometer/resources/main.js index e38e397..d5d71c4 100644 --- a/PerformanceTests/Speedometer/resources/main.js +++ b/PerformanceTests/Speedometer/resources/main.js @@ -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); -- 1.8.3.1