Bug 1330544 - Part 1: Add 'direction' to the changing flag target. r=pbro
MozReview-Commit-ID: C9cTVxa5av1
--- 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());
}