Bug 1330544 - Part 1: Add 'direction' to the changing flag target. r=pbro
authorAnkita <ankitatanwar93@gmail.com>
Fri, 06 Jul 2018 17:06:46 +0900
changeset 815589 dfc8ad9b2244b8112340e44368a8e43b523c82e6
parent 815588 78e841de1a73cc8a234810e791475d95b2956d48
child 815590 a2369d01b9b6ac9474cd93cf8d5f17145823f11a
push id115563
push userbmo:ntim.bugs@gmail.com
push dateMon, 09 Jul 2018 12:45:57 +0000
reviewerspbro
bugs1330544
milestone63.0a1
Bug 1330544 - Part 1: Add 'direction' to the changing flag target. r=pbro MozReview-Commit-ID: C9cTVxa5av1
devtools/server/actors/animation.js
--- a/devtools/server/actors/animation.js
+++ b/devtools/server/actors/animation.js
@@ -394,16 +394,17 @@ var AnimationPlayerActor = protocol.Acto
         // at least).
         const newState = this.getState();
         const oldState = this.currentState;
         hasChanged = newState.delay !== oldState.delay ||
                      newState.iterationCount !== oldState.iterationCount ||
                      newState.iterationStart !== oldState.iterationStart ||
                      newState.duration !== oldState.duration ||
                      newState.endDelay !== oldState.endDelay ||
+                     newState.direction !== oldState.direction ||
                      newState.playbackRate !== oldState.playbackRate;
         break;
       }
     }
 
     if (hasChanged) {
       this.emit("changed", this.getCurrentState());
     }