import changes from `dev' branch of rmottola/Arctic-Fox:

- Bug 1127380, part 1 - Initial implementation of AnimationPlayer.playbackRate. r=birtles, r=smaug (c63596c12)
- Bug 1109390 part 1 - Add tests for getting the startTime; r=jwatt (95c897961)
- Bug 1109390 part 2 - Remove some unneeded startTime tests; r=jwatt (0a1cfd600)
- Bug 1109390 part 3 - Clear the start time when playing a player; r=jwatt (602e1a61b)
- Bug 1109390 part 4 - Make DevTools animation actor wait for asynchronous pause; r=pbrosset (593f802c4)
- Bug 1109390 part 5 - Adjust tests to better handle asynchronous pausing; r=jwatt (89c5dd416)
- Bug 1109390 part 6 - Generalize PendingPlayerTracker to support pausing as well; r=jwatt (ec2c7fa00)
- Bug 1109390 part 7 - Rename PendingPlayerTracker's Start* methods to Trigger*; r=jwatt (46a085548)
- Bug 1109390 part 8 - Rename Start* methods in AnimationPlayer to Trigger*; r=jwatt (f46c222d3)
- Bug 1109390 part 9 - Call Trigger* on pause-pending players; r=jwatt (8b72f2839)
- Bug 1109390 part 10 - Add an enum to AnimationPlayer to represent if we are pause-pending or play-pending; r=jwatt (9fb754d91)
- Bug 1109390 part 11 - Make IsPossiblyOrphanedPendingPlayer deal with pause-pending players too; r=jwatt (642e9133e)
- Bug 1109390 part 12 - Update IsPaused to handle pause-pending players as well; r=jwatt (9247d22f7)
- Bug 1109390 part 13 - Cancel pending pauses as well as pending plays; r=jwatt (a2c3708ba)
- Bug 1109390 part 14 - Update AnimationPlayer::DoPlay to re-use the ready promise appropriately; r=jwatt (4e8eaff41)
- Bug 1109390 part 15 - Update AnimationPlayer::SetCurrentTime to cancel any pending pause tasks; r=jwatt (a822566a3)
- Bug 1109390 part 16 - Update IsCurrent to take a player parameter; r=jwatt (ba7aec3b6)
- Bug 1109390 part 17 - Add Animation::IsInPlay(); r=jwatt (0e4486eeb)
- Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles (e43322414)
- Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles (868dd989b)
- Bug 1125455 patch 3 - Add mochitests for animations overriding transitions. r=birtles (2c6da7b10)
- Bug 1125455 patch 4 - For main-thread application of transitions, don't apply transitions when animations are also running. r=birtles (234cc5b35)
- Bug 1125455 patch 5 - Add Animation::GetAnimationOfProperty. r=birtles (fbae3f252)
- Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles (4cef6c912)
- Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles (8ace81513)
- Bug 1109390 part 18 - Rename AnimationPlayer::IsRunning to IsPlaying and reuse IsInPlay definition; r=jwatt (ca3e8cc89)
- Bug 1109390 part 20 - Add an options flag to GetAnimationsForCompositor to control; r=jwatt (8fc1333e2)
- Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt (e67f39ee1)
- Bug 1074630, part 1 - Implement Web Animations finishing behavior. r=birtles, r=smaug (35ae542f0)
- Bug 1074630, part 2 - CSS animations tests for Web Animations finishing behavior. r=birtles (4ea68bbde)
- Bug 1109390 part 22 - Add AnimationPlayer::PauseAt to complete a pending pause; r=jwatt (4d21ad5dc)
- Bug 1109390 part 23 - Add aborted pause behavior; r=jwatt (cde050c71)
- Bug 1145246, part 1 - Rename Animatable.getAnimationPlayers() to Animatable.getAnimations(), but leave the old name an an alias for the new. r=birtles, r=smaug (51944e2d7)
- Bug 1143314 - Don't use very short transition/animation durations in test_animation_observers.html. r=birtles (0175c3c6f)
- Bug 1145912 - Make single_transition_reversed and multiple_transitions more robust. r=birtles (a751f2b37)
- small fix of missing bit 1143314 (03166361e)
- Bug 1145246, part 2 - Update Web Animations code and tests for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=birtles (353d517c5)
- Bug 1145246, part 3 - Update layout code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=birtles (0188d8049)
- Bug 1145246, part 4 - Update devtools code for the rename of Animatable.getAnimationPlayers() to Animatable.getAnimations(). r=pbrosset (20d196cc5)
- Bug 1145246, part 5 - Remove the Animatable.getAnimationPlayers() alias for Animatable.getAnimations(). r=birtles, r=smaug (b6804f2f6)
- Bug 1145246, part 6 - Remove disabled code from AnimationPlayer::ComposeStyle. r=birtles (f7d5d6f7b)
- Bug 1145246, part 7 - Add more CSS animation tests to check currentTime clamping. r=birtles (7cc762bbb)
- Bug 1109390 part 24 - Use wallclock time when refreshing the style of animations that need to be synchronized with the compositor; r=jwatt (d7a0e4a84)
- Bug 1109390 part 25 - Make pausing asynchronous (a2121bcdb)
- Bug 1109390 part 26 - Add further tests for ready promise when pausing; r=jwatt (7a20f21c8)
- Bug 1109390 part 27 - Add further test to test_animations-pausing.html for cancelling a pause by setting the current time; r=jwatt (84ac66241)
- Bug 1109390 part 28 - Add tests for the AnimationPlayer.startTime when pausing asynchronously; r=jwatt (9f722dc20)
This commit is contained in:
2020-03-19 22:17:02 +08:00
parent 23315ea023
commit ef8889749c
45 changed files with 2317 additions and 1132 deletions
+1 -1
View File
@@ -2591,7 +2591,7 @@ nsDOMWindowUtils::AdvanceTimeAndRefresh(int64_t aMilliseconds)
if (doc) {
PendingPlayerTracker* tracker = doc->GetPendingPlayerTracker();
if (tracker) {
tracker->StartPendingPlayersNow();
tracker->TriggerPendingPlayersNow();
}
}