Chromium Code Reviews| Index: PerformanceTests/Animation/api-set-current-time-balls-keyframe-animations.html |
| diff --git a/PerformanceTests/Animation/api-set-current-time-balls-keyframe-animations.html b/PerformanceTests/Animation/api-set-current-time-balls-keyframe-animations.html |
| index d98c6e3c5aa1bdbc22c683fc59d50736879d59ab..16057edf056fae6b22226b4604cd4a2dd17cfeb2 100644 |
| --- a/PerformanceTests/Animation/api-set-current-time-balls-keyframe-animations.html |
| +++ b/PerformanceTests/Animation/api-set-current-time-balls-keyframe-animations.html |
| @@ -71,7 +71,11 @@ var particles = []; |
| var allParticleKeyframes = []; |
| window.onload = function () { |
| - PerfTestRunner.prepareToMeasureValuesAsync({done: onCompletedRun, unit: 'fps'}); |
| + PerfTestRunner.prepareToMeasureValuesAsync({ |
| + description: "Measure performance of animating 'left' and 'top' by calling Element.animate() (from the Web Animations API), pausing the player, and updating the player's startTime using requestAnimationFrame.", |
|
alancutter (OOO until 2018)
2014/10/20 00:09:34
s/startTime/currentTime/
|
| + done: onCompletedRun, |
| + unit: 'fps' |
| + }); |
| // Create the particles |
| for (var i = 0; i < maxParticles; i++) { |