Bug 1456394 - Make TimingParameters::operator== compare end delay values; r?hiro
MozReview-Commit-ID: 5frk5APUTDd
--- a/dom/animation/TimingParams.cpp
+++ b/dom/animation/TimingParams.cpp
@@ -224,16 +224,17 @@ TimingParams::ParseEasing(const nsAStrin
bool
TimingParams::operator==(const TimingParams& aOther) const
{
// We don't compare mActiveDuration and mEndTime because they are calculated
// from other timing parameters.
return mDuration == aOther.mDuration &&
mDelay == aOther.mDelay &&
+ mEndDelay == aOther.mEndDelay &&
mIterations == aOther.mIterations &&
mIterationStart == aOther.mIterationStart &&
mDirection == aOther.mDirection &&
mFill == aOther.mFill &&
mFunction == aOther.mFunction;
}
} // namespace mozilla
deleted file mode 100644
--- a/testing/web-platform/meta/web-animations/interfaces/Animatable/getAnimations.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[getAnimations.html]
- [Returns animations based on dynamic changes to individual animations' end delay]
- expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/web-animations/interfaces/AnimationEffect/updateTiming.html.ini
+++ /dev/null
@@ -1,7 +0,0 @@
-[updateTiming.html]
- [Allows setting the endDelay to a positive number]
- expected: FAIL
-
- [Allows setting the endDelay to a negative number]
- expected: FAIL
-