Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Issue 1410313004: Web Animations: Use a single animation clock (Closed)

Created:
5 years, 1 month ago by dstockwell
Modified:
5 years, 1 month ago
Reviewers:
samli
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, Eric Willigers, rjwright, rwlbuis, shans, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web Animations: Use a single animation clock All animation clocks for a page should tick at the same time, but since we had an animation clock per document there were some cases where clocks could tick independently. This patch moves the clock from Document to PageAnimator. animation-timeline-detached-no-crash.html is removed as the test was not valid due to the animation's document not being active. Committed: https://crrev.com/1bdb2cb318172358647853128a3d3db3f1c7c97a Cr-Commit-Position: refs/heads/master@{#357736}

Patch Set 1 #

Patch Set 2 : Layout test fixes #

Patch Set 3 : Unit test fixes #

Patch Set 4 : #

Patch Set 5 : New layout test #

Patch Set 6 : New layout test for real #

Patch Set 7 : Use near comparison due to unspecified zero time #

Patch Set 8 : Consistent zeroTime for unit tests. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -114 lines) Patch
D third_party/WebKit/LayoutTests/web-animations-api/animation-timeline-detached-no-crash.html View 1 chunk +0 lines, -14 lines 0 comments Download
A third_party/WebKit/LayoutTests/web-animations-api/time-consistent-across-frames.html View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationStackTest.cpp View 1 2 4 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTest.cpp View 1 2 3 4 5 6 7 6 chunks +5 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTimeline.h View 1 2 3 4 5 6 7 4 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTimeline.cpp View 1 2 3 4 5 6 7 8 chunks +21 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTimelineTest.cpp View 1 2 3 4 5 6 7 12 chunks +5 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 1 2 3 4 5 6 7 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorPendingAnimations.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimations.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimations.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/PageAnimator.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/PageAnimator.cpp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (17 generated)
dstockwell
5 years, 1 month ago (2015-10-28 03:08:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/1
5 years, 1 month ago (2015-10-28 03:08:53 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/132399)
5 years, 1 month ago (2015-10-28 04:10:49 UTC) #6
samli
lgtm!! This was definitely the source of our invariant breaking.
5 years, 1 month ago (2015-10-28 16:46:50 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/40001
5 years, 1 month ago (2015-10-29 01:29:35 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/123432)
5 years, 1 month ago (2015-10-29 02:23:17 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/60001
5 years, 1 month ago (2015-10-29 02:33:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/100001
5 years, 1 month ago (2015-10-29 04:51:31 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-10-29 05:59:42 UTC) #17
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/b45c39903df3727d21cbc217a0b14c2c85b0715a Cr-Commit-Position: refs/heads/master@{#356776}
5 years, 1 month ago (2015-10-29 06:00:39 UTC) #18
Peter Kasting
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1417613005/ by pkasting@chromium.org. ...
5 years, 1 month ago (2015-10-29 22:02:07 UTC) #19
dstockwell
Relanding with fix for flaky unit tests.
5 years, 1 month ago (2015-10-29 23:38:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/120001
5 years, 1 month ago (2015-10-29 23:39:51 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/89078)
5 years, 1 month ago (2015-10-30 03:06:54 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/120001
5 years, 1 month ago (2015-10-30 03:09:13 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-10-30 04:30:51 UTC) #28
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ddd06a6080e1e7d7d02b15595289940980b04973 Cr-Commit-Position: refs/heads/master@{#357044}
5 years, 1 month ago (2015-10-30 04:31:36 UTC) #29
Peter Kasting
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1425143006/ by pkasting@chromium.org. ...
5 years, 1 month ago (2015-10-30 07:45:50 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/140001
5 years, 1 month ago (2015-11-02 02:18:25 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/89902)
5 years, 1 month ago (2015-11-02 05:13:51 UTC) #35
dstockwell
Ran testKeyboardDismissedAfterClickingGo locally and on linux_android_rel_ng and could not reproduce the flakiness from https://code.google.com/p/chromium/issues/detail?id=549309 Verified ...
5 years, 1 month ago (2015-11-04 01:21:50 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313004/160001
5 years, 1 month ago (2015-11-04 01:24:33 UTC) #39
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 1 month ago (2015-11-04 02:50:42 UTC) #40
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 02:51:17 UTC) #41
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1bdb2cb318172358647853128a3d3db3f1c7c97a
Cr-Commit-Position: refs/heads/master@{#357736}

Powered by Google App Engine
This is Rietveld 408576698