Bug 1443319 - Removing unnecessary generator on waitForAnimationTimelineRendering makes browser_animation_timeline_rate_selector.js fail draft
authorAlexandre Poirot <poirot.alex@gmail.com>
Mon, 05 Mar 2018 14:08:05 -0800
changeset 763382 f54147669e2e20916e6a4045ce49253972d5930f
parent 763042 69f9ae4f6e8943d24569a9e4380f6df869f56b73
push id101442
push userbmo:poirot.alex@gmail.com
push dateMon, 05 Mar 2018 22:13:53 +0000
bugs1443319
milestone60.0a1
Bug 1443319 - Removing unnecessary generator on waitForAnimationTimelineRendering makes browser_animation_timeline_rate_selector.js fail MozReview-Commit-ID: CvXrdcCZBsN
devtools/client/animationinspector/test/head.js
--- a/devtools/client/animationinspector/test/head.js
+++ b/devtools/client/animationinspector/test/head.js
@@ -375,17 +375,17 @@ function* changeTimelinePlaybackRate(pan
 function* waitForAnimationSelecting(panel) {
   yield panel.animationsTimelineComponent.once("animation-selected");
 }
 
 /**
  * Wait for rendering animation timeline.
  * @param {AnimationsPanel} panel
  */
-function* waitForAnimationTimelineRendering(panel) {
+function waitForAnimationTimelineRendering(panel) {
   return panel.animationsTimelineComponent.once("animation-timeline-rendering-completed");
 }
 
 /**
    + * Click the timeline header to update the animation current time.
    + * @param {AnimationsPanel} panel
    + * @param {Number} x position rate on timeline header.
    + *                 This method calculates