Closed
Bug 1259313
Opened 9 years ago
Closed 8 years ago
Need a test for checking result of ParseEasing in GetKeyframeListFromPropertyIndexedKeyframe
Categories
(Core :: DOM: Animation, defect)
Core
DOM: Animation
Tracking
()
RESOLVED
DUPLICATE
of bug 1244591
Tracking | Status | |
---|---|---|
firefox48 | --- | affected |
People
(Reporter: birtles, Assigned: daisuke)
References
Details
Attachments
(1 file)
(deleted),
text/x-review-board-request
|
Details |
Bug 1253470 replaces a call to:
AnimationUtils::ParseEasing(keyframes.mEasing, aTarget->OwnerDoc());
with a call to:
TimingParams::ParseEasing(keyframes.mEasing, aTarget->OwnerDoc(), aRv);
here:
https://hg.mozilla.org/mozilla-central/rev/a0c0ea60eaef#l2.39
But doesn't check the result, aRv. It probably should and we should probably add a test for that.
Assignee | ||
Comment 1•9 years ago
|
||
Oh, thanks!
Reporter | ||
Comment 2•9 years ago
|
||
The code changes should now be fixed as part of bug 1245748 but we still need a test.
Comment 3•9 years ago
|
||
Now the ParseEasing is here:
https://dxr.mozilla.org/mozilla-central/rev/d62963756d9a9d19cbbb5d8f3dd3c7cfa8fdef88/dom/animation/KeyframeUtils.cpp#1005
Summary: Check result of ParseEasing in BuildAnimationPropertyListFromPropertyIndexedKeyframes → Need a test for checking result of ParseEasing in GetKeyframeListFromPropertyIndexedKeyframe
Assignee | ||
Comment 4•9 years ago
|
||
Ok, thanks!
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/54452/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/54452/
Attachment #8755242 -
Flags: review?(bbirtles)
Reporter | ||
Comment 7•8 years ago
|
||
It looks like this was already added in bug 1244591. Specifically, here:
https://hg.mozilla.org/mozilla-central/rev/d2dc79c8d77c#l4.27
Of the tests added in attachment 8755242 [details], however, I think we might still want to add at least the first one. (We might not want to second one due to upcoming changes in Web Animations.[1])
[1] https://github.com/w3c/web-animations/issues/148
Assignee | ||
Comment 8•8 years ago
|
||
Thank, Brian!
Ok!
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8755242 [details]
MozReview Request: Bug 1259313 - Need a test for checking result of ParseEasing in GetKeyframeListFromPropertyIndexedKeyframe. r?birtles
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/54452/diff/1-2/
Reporter | ||
Comment 10•8 years ago
|
||
Sorry, I just checked and it turns out we have tests for this too!
https://dxr.mozilla.org/mozilla-central/rev/16663eb3dcfa759f25b5e27b101bc79270c156f2/testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/constructor.html#30
So I think we can mark this resolved duplicate of bug 1244591.
Reporter | ||
Updated•8 years ago
|
Attachment #8755242 -
Flags: review?(bbirtles)
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•