Closed Bug 1244080 Opened 8 years ago Closed 8 years ago

Add an automation test for bug 1235478

Categories

(Core :: DOM: Animation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: hiro, Unassigned)

Details

Attachments

(2 files)

The test was dropped from bug 1235286 because the test causes intermittent failure without the fix for bug 1235478.

The fix for bug 1235478 will be landed soon.  We need the test!
This patch is actually related to this issue.
I did leave an unnecessary argument on each remove() call. This patch removes them, and fix a typo in test name.
Attachment #8714238 - Flags: review?(bbirtles)
Attachment #8714238 - Flags: review?(bbirtles) → review+
Comment on attachment 8714239 [details] [diff] [review]
Part 1: Test that setting duration in the middle of the animation causes only once a restyling

Review of attachment 8714239 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/animation/test/chrome/test_restyles.html
@@ +321,5 @@
>         'never cause restyles after pause() is called');
>      div.remove();
>    });
>  
> +  add_task_if_omta_enabled(function* only_one_restyling_when_current_time_is_set_to_middle_of_duration() {

Nit: It would be nice if we could wrap this line to < 80 chars, but that might be difficult.
Attachment #8714239 - Flags: review?(bbirtles) → review+
(In reply to Brian Birtles (:birtles, busy 1~9 Feb) from comment #3)
> ::: dom/animation/test/chrome/test_restyles.html
> @@ +321,5 @@
> >         'never cause restyles after pause() is called');
> >      div.remove();
> >    });
> >  
> > +  add_task_if_omta_enabled(function* only_one_restyling_when_current_time_is_set_to_middle_of_duration() {
> 
> Nit: It would be nice if we could wrap this line to < 80 chars, but that
> might be difficult.

I did try to change it to other styles, but all of them were weird. I leave the line as it for now.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ee7ba63dfb2
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/43075083cae0
https://hg.mozilla.org/mozilla-central/rev/2d4d6831a8c3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: