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

Issue 212393002: Web Animations API: Ensure timing is updated if a RAF callback makes a player outdated. (Closed)

Created:
6 years, 9 months ago by dstockwell
Modified:
6 years, 9 months ago
Reviewers:
shans, esprehn, rjwright
CC:
blink-reviews, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers, eseidel, abarth-chromium
Visibility:
Public.

Description

Web Animations API: Ensure timing is updated if a RAF callback makes a player outdated. Under the Web Animations API it's now possible for new animation players to be started or existing players modified during frame callbacks. Since timing updates are lazy it was possible for them to be delayed until the next frame. This patch forces an update of any outdated players following the execution of frame callbacks. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170169

Patch Set 1 : #

Patch Set 2 : Add assert. #

Patch Set 3 : Remove assert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
A LayoutTests/web-animations-api/change-in-animation-frame.html View 1 chunk +24 lines, -0 lines 0 comments Download
A + LayoutTests/web-animations-api/change-in-animation-frame-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/animation/DocumentAnimations.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/animation/DocumentAnimations.cpp View 2 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/page/PageAnimator.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
dstockwell
6 years, 9 months ago (2014-03-26 08:00:15 UTC) #1
dstockwell
6 years, 9 months ago (2014-03-26 08:02:08 UTC) #2
esprehn
On 2014/03/26 08:02:08, dstockwell wrote: Why don't you need to consider the transitions timeline? Lgtm
6 years, 9 months ago (2014-03-26 08:08:38 UTC) #3
dstockwell
On 2014/03/26 08:08:38, esprehn wrote: > On 2014/03/26 08:02:08, dstockwell wrote: > > Why don't ...
6 years, 9 months ago (2014-03-26 08:14:13 UTC) #4
shans
lgtm Once we have player end events, updating a player that ends should trigger the ...
6 years, 9 months ago (2014-03-26 20:14:47 UTC) #5
shans
On 2014/03/26 20:14:47, shans wrote: > lgtm > > Once we have player end events, ...
6 years, 9 months ago (2014-03-26 20:15:11 UTC) #6
rjwright
The CQ bit was checked by rjwright@chromium.org
6 years, 9 months ago (2014-03-27 02:42:18 UTC) #7
rjwright
The CQ bit was unchecked by rjwright@chromium.org
6 years, 9 months ago (2014-03-27 02:42:20 UTC) #8
dstockwell
On 2014/03/26 08:14:13, dstockwell wrote: > On 2014/03/26 08:08:38, esprehn wrote: > > On 2014/03/26 ...
6 years, 9 months ago (2014-03-27 10:55:07 UTC) #9
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-27 10:55:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/212393002/130001
6 years, 9 months ago (2014-03-27 10:55:19 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 11:06:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-27 11:06:05 UTC) #13
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-27 11:07:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/212393002/130001
6 years, 9 months ago (2014-03-27 11:08:01 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 12:01:18 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-27 12:01:19 UTC) #17
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-27 12:05:58 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/212393002/130001
6 years, 9 months ago (2014-03-27 12:06:00 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 12:06:43 UTC) #20
Message was sent while issue was closed.
Change committed as 170169

Powered by Google App Engine
This is Rietveld 408576698