gecko-dev/dom/animation/test/style
Hiroyuki Ikezoe e7e006516c Bug 1415734 - Don't start test refresh mode if there is any suppressed paints. r=birtles
When paintingSuppressed flag is true, paint_listener.waitForPaints() defers the
waiting paint to the next tick.  The paintingSupressed flag is set when pres
shell is initialized and at that time if the document has not been loaded yet,
a timer is created to clear the flag after nglayout.initialpaint.delay
elapsed.  And when the timer is fired, the flag is cleared, but if there is
still pending reflow, it's not cleared.

So what happened in the failure case;

1) In the first promise_test we wait for document load
2) The paintingSuppressed flag is set in the first promise_test and create the
   timer
3) When the document has been loaded but the timer has not yet been fired,
   start test refresh mode and create an element in the subsequent promise_test
4) Creating the element triggers a reflow
5) waitForPaints() is called
6) The timer is fired, but there is a pending reflow, so skip clearing the flag
7) Now it's in the test refresh mode, the pending flow will never be processed
   until some triggers happen (i.e. mouse movement, calling
   advanceTimeAndRefresh, etc.)
8) The test is timed out

MozReview-Commit-ID: 5fLn9SNHp1J

--HG--
extra : rebase_source : 3115a5d5ac1405f18efde7ade1fb9738858c518f
2017-11-10 06:38:15 +09:00
..
file_animation-seeking-with-current-time.html
file_animation-seeking-with-start-time.html
file_animation-setting-effect.html
file_composite.html Bug 1415734 - Don't start test refresh mode if there is any suppressed paints. r=birtles 2017-11-10 06:38:15 +09:00
file_missing-keyframe-on-compositor.html Bug 1415734 - Don't start test refresh mode if there is any suppressed paints. r=birtles 2017-11-10 06:38:15 +09:00
file_missing-keyframe.html Bug 1325193 - Get underlying style value in the case where the last segment is missing keyframe for accumulation of iteration composite. r=birtles 2017-01-12 10:28:46 +09:00
test_animation-seeking-with-current-time.html
test_animation-seeking-with-start-time.html
test_animation-setting-effect.html
test_composite.html Bug 1291468 - Part 2: Implement keyframe composite(accumulate). r=birtles 2016-12-04 08:07:41 +09:00
test_interpolation-from-interpolatematrix-to-none.html Bug 1375812 - Test the result of interpolation from interpolatematrix to none. r=birtles 2017-06-28 10:57:50 -07:00
test_missing-keyframe-on-compositor.html Bug 1305325 - Part 15: Tests composed style for missing keyframe for properties runnning on the compositor. r=birtles 2016-12-04 08:07:40 +09:00
test_missing-keyframe.html Bug 1305325 - Part 8: Tests composed style for missing keyframe for properties running on the main thread. r=birtles 2016-12-04 08:07:40 +09:00
test_transform-non-normalizable-rotate3d.html Bug 1389429 - Part 1: Add a test for rotate3d with the non-nomalizable direction vector. r=birtles 2017-08-16 11:19:38 +08:00