Граф коммитов

1471 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe 29d095f24f Bug 1416966 - Drop the check for the new micro task checkpoint for animations. r=birtles
MozReview-Commit-ID: HVxDrxV3Qmb

--HG--
extra : rebase_source : 9b29646a35e23c31896ae7458c49a8abd44bacbb
2017-12-12 18:44:05 +09:00
Hiroyuki Ikezoe 280df82ed9 Bug 1416966 - Perform a micro task checkpoint in DocumentTimeline::WillRefresh. r=bevis,birtles
MozReview-Commit-ID: Kd1Il7COZZY

--HG--
extra : rebase_source : 872267be92883ed5f94b2e4dbca7fd7f24941f34
2017-12-12 18:44:05 +09:00
Hiroyuki Ikezoe fedaef24c4 Bug 1416966 - Add an annotation for a test case that will fail once we perform a micro task checkpoint between Animation::Tick and requestAnimationFrame callbacks. r=birtles
The 'is' check there will be replaced 'todo_is' after the commit for the new
micro task checkpoint.

MozReview-Commit-ID: EGFZWy8BD3O

--HG--
extra : rebase_source : 034717a9e7aac0edb82613321ec056ed07cdb996
2017-12-12 18:44:04 +09:00
Hiroyuki Ikezoe 912d3bc83e Bug 1416966 - Count a remaining animation restyle request when animating element was detached from the document. r=birtles
If element which has script animations is detached between Animation::Tick and
styling process, the element persists in EffectCompositor::mElementsToRestyle
(bug 1417354).  When the element is attached to the document again, the element
in mElementsToRestyle is considered as a target element that needs to be
traversed in the first animation-only restyling.  Thus the remaining restyle
request can be observed with the new micro task checkpoint for animations.

MozReview-Commit-ID: F6gs2QXcZ8X

--HG--
extra : rebase_source : 09ccf76e4d28ee55facc5a62f3e8f08e0eeb3e03
2017-12-12 18:44:04 +09:00
Hiroyuki Ikezoe e49eb2dc18 Bug 1416966 - Add todo for checking one restyle after Animation.pause(). r=birtles
Similar to the previous commit, if Animation.pause() is called between
restyling process and the next refresh driver's tick and if we wait for
Animation.ready after the pause(), there should be one restyle that hasn't
yet processed.

MozReview-Commit-ID: JnpwhOuDvPz

--HG--
extra : rebase_source : b6f14e05837754d1bd51c8a50ce8d82a0c7d751a
2017-12-12 18:44:04 +09:00
Hiroyuki Ikezoe cdb5d751e5 Bug 1416966 - Add todo for checking the final restyle after Animation.finished. r=birtles
If Animation.finished promise was fulfilled in Animation::Tick, at the moment we
haven't yet restyled the final animation value.  So once we have new micro task
checkpoint there we can observe a restyle marker after Animation.finished was
fulfilled.

MozReview-Commit-ID: LiEl4Iu2Cbr

--HG--
extra : rebase_source : d88b037eba2fd07d75a3ab429c028e23e5137b52
2017-12-12 18:44:04 +09:00
Hiroyuki Ikezoe e792071575 Bug 1424644 - Check pending state to make sure the animation has been paused or not. r=birtles
'finish_from_pause' supposes that finish() is called after pause pending state
is finished.  Whereas 'finish_from_pause_pending' supposes that finish() is
called during pause pending state.  We should check the state respectively.

MozReview-Commit-ID: DUq2ghK6h9I

--HG--
extra : rebase_source : 2d4ded71387e75efcff9bb184b8e51475bc8bc56
2017-12-11 06:46:46 +09:00
Hiroyuki Ikezoe e8357d3715 Bug 1424115 - Rewrite test_animation_observers_async.html with promise_test. r=boris
With this patch we still use a global MutationObserver and a single target
element and re-use them in all test cases.  Eventually each test should create
a target element and a MutationObserver to avoid explicit cleanup jobs (e.g.
clearing styles and flushing styles for the global target element), but it's
not in the scope of this bug.

MozReview-Commit-ID: IqEjMbTrpAK

--HG--
extra : rebase_source : 7463c21ce946f5c15f2b7bc4a71c90dba784385d
2017-12-08 12:03:30 +09:00
Hiroyuki Ikezoe dc512a2632 Bug 1424115 - Drop EventUtils.js from test_animation_observers_async.html. r=boris
It's no longer used.

MozReview-Commit-ID: 5f4lEP5wAqx

--HG--
extra : rebase_source : 81feae35ee4ee735e2bb3904f0166897c93880ec
2017-12-08 11:50:03 +09:00
Hiroyuki Ikezoe 9e8a926279 Bug 1424115 - Fix indentation in test_animation_observers_sync.html. r=boris
MozReview-Commit-ID: HsYi9ISOVli

--HG--
extra : rebase_source : 05c05478237c1c827f03b070ace8828a43a0474d
2017-12-08 11:50:03 +09:00
Hiroyuki Ikezoe 61db04fabc Bug 1424115 - Drop requestLongerTimeout in test_animation_observers_async.html. r=boris
Most of test cases in the test file has been moved so that the test no longer
takes over default time out (5 minutes).

MozReview-Commit-ID: 9rrr7WrkcFH

--HG--
extra : rebase_source : 44ca3c0e42a389d82185e55b257c1dceb6d407d4
2017-12-08 11:50:03 +09:00
Hiroyuki Ikezoe 49e012c030 Bug 1416693 - Make animation test cases that don't require asynchronous. r=boris
Below list is animation test cases remain in test_animation_observers_async.html

* single_animation : waiting for animationend event
* single_animation_cancelled_fill : waiting for animaitonend event
* tree_ordering : waiting for animationend event
* coalesce_change_cancel : testing a non-cancelling change to an animation
  followed immediately by a cancelling change sends only one removal
  notification, I am concerned that adding explicit style flush
  (e.g. getComputedstyle) might change the test purpose.
* play : redundant play() seems to be affected by asynchronous.
  I haven't dug into detail.
* finish_from_pause : waiting for Animation.ready to make sure pause pending
  state to finish.

MozReview-Commit-ID: HAelOTwSqgv

--HG--
extra : rebase_source : 819e8975028f62580dccd07fedc53d250b71f97a
2017-12-07 10:06:02 +09:00
Hiroyuki Ikezoe 70ec3f1b1b Bug 1416693 - Make transition test cases that don't require asynchronous. r=boris
Below list is transition test cases remain in test_animation_observers_async.html

* single_transition : waiting for transitionend event

MozReview-Commit-ID: 5ecgpJm1W6p

--HG--
extra : rebase_source : d5c77cf77521f62a693897230d73287deab8b6c7
2017-12-07 16:27:32 +09:00
Hiroyuki Ikezoe 6a7d32d971 Bug 1418268 - Tweak expected restyle count for the case where animation start time was clamped. r=birtles
MozReview-Commit-ID: IPxRtRucze4

--HG--
extra : rebase_source : b5c346b38022fa69f0762a5d3149599f41f2414b
2017-12-07 12:57:54 +09:00
Hiroyuki Ikezoe 18bbe2d0b2 Bug 1418268 - Add a function to check whether there is a micro task checkpoint between animation tick and requestAnimationFrame callbacks. r=birtles
MozReview-Commit-ID: 6C9Fbg7SKWU

--HG--
extra : rebase_source : a1e979a2034da2be12348f7916d2a0983c6917c6
2017-12-07 08:43:59 +09:00
Hiroyuki Ikezoe d29d155692 Bug 1418268 - Make sure the animation on scrolled out element is throttled in the first place. r=birtles
In the first frame after the initial paint, we skip restyling if the initial
paint took over vsync refresh rate as an optimization and to avoid jumpy
animations. To avoid checking this skipped restyling that we'd actually expect
a restyle maker there, firstly we check there is no restyle marker after the
initial paint for scrolled out animation for five frames, and we then make the
element visible and check a restyle marker there.

MozReview-Commit-ID: 5XkJhdtUly5

--HG--
extra : rebase_source : 1a441296ad6f6cc42b50d300ebacd66e5dee77a1
2017-12-07 08:43:38 +09:00
Hiroyuki Ikezoe 3fb7e182cc Bug 1423078 - Use waitForNextFrame() instead of waitForFrame() to make sure the next frame. r=birtles
This change is the same as bug 1422995.  With the conformant Promise handling
and performing micro task checkpoint in Animation tick, waitForFrame() inside
the callback for Animation.ready does not make sure that the next frame happens.

MozReview-Commit-ID: KEz4xmHpGlk

--HG--
extra : rebase_source : 6285f2f3df3d5cb617579bb4f449832ff155e34d
2017-12-06 09:19:40 +09:00
Hiroyuki Ikezoe ed3191d521 Bug 1423078 - Use waitForNextFrame() instead of waitForFrame() to make sure the second restyle happen after the initial paint. r=birtles
We clamp animation start time on the second restyling when the initial paint
for the animation took over vsync refresh rate (16.6ms normally as of today).
The clamping leads the animation progress to the same value as the initial one.
Once this clamping happens, the animation value does not change even after
waiting for Animation.ready and a reqeustAnimationFrame.  To make the animation
value change happen we should wait for one more requestAnimationFrame.

MozReview-Commit-ID: 8OTC0xkKBrr

--HG--
extra : rebase_source : 4c0313f3a96ffc85306f5687630abc13d88aed61
2017-12-06 09:19:38 +09:00
Hiroyuki Ikezoe 54e5e36f24 Bug 1423078 - Use assert_greater_than instead of assert_true. r=birtles
MozReview-Commit-ID: C4LZQni43wp

--HG--
extra : rebase_source : 0f68abbd0a1f8cf9e005e2bdecd7e7f267c64cba
2017-12-06 09:19:35 +09:00
Boris Chiou 570057e075 Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.

MozReview-Commit-ID: 6orXtddp9ZU

--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Hiroyuki Ikezoe 7257be7a76 Bug 1422995 - Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen. r=birtles
With the conformant Promise handling (bug 1193394) and performing micro task
checkpoint in Animation tick (bug 1416966), if we call waitForFrame() inside
the callback for Animation.ready.then it will still be done in the same refresh
driver's tick.

MozReview-Commit-ID: GQJiDHHUlyD

--HG--
extra : rebase_source : 55813e6c1fc24193e0b4b1c87934debe80d357b5
2017-12-05 09:13:42 +09:00
Emilio Cobos Álvarez 13a91fa9f6 Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
On a CLOSED TREE, since the servo patch managed to get in.

This also makes the border longhand no longer reset them.

MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Hiroyuki Ikezoe 74b350fbd2 Bug 1421476 - Wait for the next frame after waitForWheelEvent(). r=birtles
sendWheelAndPaintNoFlush which calls in waitForWheelEvent()  waits for
MozAfterPaint and calls a given callback function when the MozAfterPaint is
received.  The MozAfterPaint is processed after we did a paint process.
However, observeStyling counts the number of requestAnimationFrame callbacks
and yet there will be no opportunity to process restyles between the
MozAfterPaint callback and the next call to requestAnimationFrame.  As a result,
if we are expecting restyles to happen on every frame, our count will be off by
one.  To avoid this, we wait until the next requestAnimationFrame callback
before calling observeStyling.

Note that we *could* try to adjust observeStyling to automatically do this for
us but sometimes we want observeStyling to observe restyles in the *current*
frame.  Since there's no obvious way to detect what we are trying to do it's
easier to just let each test decide from which point it wants to count restyles.


MozReview-Commit-ID: 1B8EZNozjFj

--HG--
extra : rebase_source : 748f874dbb42e06b72b12582762626a31d1e8d75
2017-11-29 13:05:21 +09:00
Hiroyuki Ikezoe 574cfd5228 Bug 1421476 - Change style before waiting for a single requestAnimationFrame. r=birtles
If we waited for a single requestAnimationFrame and changed the style inside
the callback, we have no chance to process the style change there.

* Before this change:
 - Tick:
   Start observing restyles
     Process restyling but there is no need to do.
 - Next tick:
   Run requestAnimationFrame callbacks
     set the style
     finish observing restyles

* After this change:
 - Tick:
   Set the style
   Start observing restyles
     Process restyling the style
 - Next tick:
   Run requestAnimationFrame callbacks
     finish observing restyles

MozReview-Commit-ID: JNQLjOXz3AZ

--HG--
extra : rebase_source : 68da01d65fcade7137c6a06551438e64cd157d0f
2017-11-29 13:05:21 +09:00
Hiroyuki Ikezoe ffc92e2d66 Bug 1421476 - Use waitForNextFrame() instead of waitForFrame() in file_restyles.html. r=birtles
MozReview-Commit-ID: K5tjO1tgoeN

--HG--
extra : rebase_source : 1b7334f7721f06cd8219a395b96089391f8aa3a2
2017-11-29 13:05:20 +09:00
Hiroyuki Ikezoe 2a187244e9 Bug 1421476 - Make waitForAnimationFrames wait for the correct number of consecutive animation frames for the given count. r=birtles
As mentioned in the previous commit, with the conformant Promise handling there
are cases where a requestAnimationFrame callback can happen in the same tick of
the refresh driver, that is, the same animation frame.  We should only count
callbacks that occur in frames subsequent to the current one.

MozReview-Commit-ID: IEC7uFwGysS

--HG--
extra : rebase_source : 9a0642507c73ce8195145290bb783a3de3f9ba1b
2017-11-29 13:05:07 +09:00
Hiroyuki Ikezoe 7735f38cde Bug 1421476 - Add waitForNextFrame() that ensures the state in the next frame. r=birtles
With the conformant Promise handling, there are cases that we are still in the
same tick even after we got a reqeustAnimationFrame.  For example, if we call
requestAnimationFrame() in the callback for an animationstart event, the
callback is processed just before the callback for requestAnimationFrame is
processed in a tick, so we are still in the same tick even after we got the
requestAnimationFrame.

MozReview-Commit-ID: Cgnu7Mk4Nl8

--HG--
extra : rebase_source : 6adfdef01e1ad1ab0cf5f93f89bc4946f49c0638
2017-11-29 13:04:17 +09:00
Hiroyuki Ikezoe ba70245385 Bug 1421151 - Drop redundant calling start(). r=birtles
We have already start() call at the top of this test file, the start() there
is called after setting 'layout.css.devPixelsPerPx' pref, that should be only
one call for start().

MozReview-Commit-ID: A43vfwfLer3

--HG--
extra : rebase_source : 7cf3157bb781c135c726d252048fe52393ead428
2017-11-28 16:42:27 +09:00
Sebastian Hengst 9dc9b78023 Backed out 3 changesets (bug 1419226) for frequently for frequently timing out in Web reftests in webvtt, e.g. enable_controls_reposition.html. r=backout
Backed out changeset 5a2460c34657 (bug 1419226)
Backed out changeset 8cda3fb3ce1a (bug 1419226)
Backed out changeset 21d9bedcf411 (bug 1419226)
2017-11-27 17:27:27 +02:00
Mantaroh Yoshinaga 10c019403e Bug 1419226 - Part 3.Wait for MozAfterPaint instead of waiting for frames on file_deferred_start.html . r=hiro
This patch will :
 * Create test div element after waiting for document load, then wait for
   painting after it.
 * Change to waiting for MozAfterPaint event without workaround of waiting for
   excessive frames.

MozReview-Commit-ID: 6Ytxln3tJi4

--HG--
extra : rebase_source : 53b5f038ec95dd47b76d4a0bcf8dfd964bff451d
2017-11-27 12:54:49 +09:00
Hiroyuki Ikezoe 23677e6410 Bug 1420774 - Drop unnecessary virtual from Animation methods. r=boris
MozReview-Commit-ID: wRrKFbjsTx

--HG--
extra : rebase_source : 0e29a425d94c9cac01a5ba1f149f48301bcf5cde
2017-11-27 07:44:53 +09:00
Hiroyuki Ikezoe 4937b30bdd Bug 1413370 - Skip the test case that checks transform animation on scrolled-out element is unthrottled periodically on Android. r=boris
It causes intermittent failure.

MozReview-Commit-ID: HDitQV4Yn3P

--HG--
extra : rebase_source : f3a874df1575f903bac3331c9e5cd3454f1f187b
2017-11-27 06:20:06 +09:00
Brian Birtles 06e53a1793 Bug 1412765 - Update more tests to reflect changes to Animation.playState's r=hiro
return value; r?hiro

MozReview-Commit-ID: KvZa7EyzAKj

--HG--
extra : rebase_source : b7721bc34f246c36a22eb4f9acc3fba854dcdec8
2017-11-24 10:53:58 +09:00
Brian Birtles 7ebdac8455 Bug 1412765 - Update tests in dom/animation/tests to use new pending member; r=hiro
MozReview-Commit-ID: 2PDm9NaXChg

--HG--
extra : rebase_source : 6a159137b7fd65a456f799b2323667de8f636542
2017-11-22 14:13:36 +09:00
Brian Birtles e83e1a5e71 Bug 1412765 - Add Animation.pending member; r=bz,hiro
This reflects the change made to the Web Animations specification in:

  9e2053f553
  1c3415f4cc
  (I got it wrong the first time. The second commit fixes the first.)

And discussed in:

  https://github.com/w3c/web-animations/issues/196

In summary, we are splitting the "pending" play state out into a separate
boolean member so that it is possible to distinguish between "play-pending" and
"pause-pending" and because most of the time when you check for
animation.playState === 'running' you also really want to include play-pending
animations.

MozReview-Commit-ID: IJSNoZTKW2I

--HG--
extra : rebase_source : 5d17239fd087cfe3cce1c9697eff97d062b6dd4b
2017-11-21 17:10:59 +09:00
Hiroyuki Ikezoe 33e7b8838f Bug 1418867 - Pass element or pseudo element to Servo_StyleSet_GetBaseComputedValuesForElement(). r=emilio
MozReview-Commit-ID: Ae3iZ6g3x3c

--HG--
extra : rebase_source : 8d07ac08d63cfdb96cb07a73ed86b268d6b5026e
2017-11-22 11:03:40 +09:00
Hiroyuki Ikezoe a2e3c0154c Bug 1418867 - Drop pseudo type argument from KeyframeEffectReadOnly::EnsureBaseStyle(). r=birtles
We have the pseudo type in mTarget.

MozReview-Commit-ID: GoXzoavnwpL

--HG--
extra : rebase_source : 2f46f581b662d7954211776f58b5104fc615486f
2017-11-22 09:56:56 +09:00
Brian Birtles c64d600a96 Bug 1418220 - Drop AnimationUtils::IsCoreAPIEnabled(ForCaller) and use nsContentUtils::AnimationsAPICoreEnabled / nsDocument::IsWebAnimationsEnabled instead; r=hiro
The difference between nsDocument::IsWebAnimationsEnabled and
nsContentUtils::AnimationsAPICoreEnabled is that the former checks the caller
type and treats the preference as set for system callers which is particularly
needed for enabling things like the getProperties() API for DevTools etc.

Generally in API-facing call sites we have a JS context / CallerType and so we
want to distinguish between system callers and non-system callers. However, for
a few internal uses--specifically filling-in missing keyframes--we don't care
about the caller type and always follow the pref setting.

That may or not be quite what we want, but this patch doesn't change that except
for one call site: KeyframeUtils::GetKeyframesFromObject. This patch changes
GetKeyframesFromObject from *not* checking the caller type to checking the
caller type. That seems to be the correct behavior here since this is called
from KeyframeEffectReadOnly::SetKeyframes(JSContext*, JS::Handle<JSObject*>,
ErrorResult&) (i.e. a JS API-facing call site) where we *should* enable the full
API when the caller is chrome code.

MozReview-Commit-ID: FQJBk3zytwd

--HG--
extra : rebase_source : 577bca1e551e39fecfab309f64c993eba110337f
2017-11-20 14:18:43 +09:00
Jonathan Watt ab7efc9dbb Bug 1417365 - Unified build issues in dom/animation. r=baku 2017-10-26 11:55:28 +01:00
Noemi Erli 550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Ya-Chieh Wu d2e5bc76eb Bug 1381153 - Part 1: Cache MayHaveOpacityAnimation and MayHaveTransformAnimation in nsIFrame. r=mstange, r=mats
There are two places where I have to cache the status of MayHaveOpacityAnimation
and MayHaveTransformAnimation. First place is in |nsIFrame:init()| where an
element is associated with a frame. Second place is in
|KeyframeEffectReadOnly::UpdateEffectSet()| where the script can add animations
on element.

btw I keep the original two flags of MayHaveOpacityAnimation and
MayHaveTransformAnimation in EffectSet because there is no guarantee that
an element has been associated with a frame when we call to |UpdateEffectSet()|.
But we still want to keep the benefits that we can quickly look up
MayHaveOpacityAnimation or MayHaveTransformAnimation. So I keep them in
EffectSet and transfer the status into nsIFrame when we bind an element
to a frame in nsIFrame:Init().

MozReview-Commit-ID: JDwyAQQTKA7
2017-11-13 18:15:00 -05:00
Hiroyuki Ikezoe 1db8e96c69 Bug 1415729 - Make 'necessary_update_should_be_invoked' test in file_restyles.html more strict. r=birtles
Before this change, the test calls getAnimations() after changing animation
duration.  Unfortunately it was wallpapering what's going on there actually
since getAnimations() flushes pending styles.  This patch drops the
getAnimations() call and makes it clear how many restyles happen there.

MozReview-Commit-ID: A0a5MlTyBnD

--HG--
extra : rebase_source : cc20d2c6945f81f72c753137441b8d84ff52ff63
2017-11-15 13:43:20 +09:00
Hiroyuki Ikezoe 4ed9f9ddff Bug 1415729 - Use arrow function in file_restyles.html. r=birtles
MozReview-Commit-ID: AcjDRK36d9d

--HG--
extra : rebase_source : 2d853c3c4702e775275a49f2eb3552ef00b7d295
2017-11-15 12:30:04 +09:00
Hiroyuki Ikezoe bb3c45d880 Bug 1415399 - Explicitly flush styles to make sure style changes happen in the case where we are in the state just before requestAnimationFrame is handled. r=birtles
MozReview-Commit-ID: FqIoLcJ69tl

--HG--
extra : rebase_source : ab1a1433dadc7c3269df3ca7a8a7e809922ebcdb
2017-11-14 08:38:03 +09:00
Hiroyuki Ikezoe 4b43b78621 Bug 1415399 - Use arrow function in test_animation_observers_{async,sync}.html. r=birtles
MozReview-Commit-ID: 4gSsvjQWBfS

--HG--
extra : rebase_source : 8b3e7791a65adc33d966c4370c4776e430522429
2017-11-14 08:37:09 +09:00
Csoregi Natalia 8f1a81caad Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
Kartikaya Gupta 87186734ba Bug 1416540 - Convert AnimationValue::GetStyleValue to return a float-based Size. r=mattwoodrow
This follows from the previous patch; these values feed into UpdateMinMaxScale
as well, which explicitly wants to use floats, so there's no point in creating
doubles. The source of this information is also a float-based matrix.

MozReview-Commit-ID: LPk4Xm9AaJJ

--HG--
extra : rebase_source : d7714755fb1078880133d6f044cc9bc7743439ee
2017-11-12 18:37:33 -05:00
Joel Maher 944aa7ec34 Bug 1363957 - Disable dom/animation/test/mozilla/test_deferred_start.html on android/debug and win10 for frequent failures. r=me, a=test-only 2017-11-13 12:20:01 -05:00
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
Jan de Mooij 296194e65f Bug 1414340 part 1 - Remove non-standard array/generator comprehensions from browser code. r=mossop 2017-11-10 11:52:22 +01:00