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

Issue 2806623003: Implement Animation constructor (Closed)

Created:
3 years, 8 months ago by suzyh_UTC10 (ex-contributor)
Modified:
3 years, 6 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Animation constructor This patch changes the Animation object from NoInterfaceObject to having a constructor, and implements two corresponding Animation::create functions. The implementations are only exposed behind the --enable-experimental-web-platform-features flag in the Window context. Test expectations are updated accordingly. BUG=674513 Review-Url: https://codereview.chromium.org/2806623003 Cr-Commit-Position: refs/heads/master@{#478215} Committed: https://chromium.googlesource.com/chromium/src/+/8427660616e176502578ec0a82982b3ed3038864

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix rebase error in expectation file #

Patch Set 4 : Update webexposed expectations #

Patch Set 5 : Missed some webexposed expectations #

Patch Set 6 : Rebase, update test expectations #

Patch Set 7 : Raise exception in constructor unless flag enabled #

Patch Set 8 : Update one more webexposed test expectation #

Total comments: 2

Patch Set 9 : Remove redundant NOTREACHED branch #

Patch Set 10 : Rebase and update test expectations #

Patch Set 11 : Selectively expose constructor with Blink-specific IDL extended attribute #

Patch Set 12 : Rebase #

Total comments: 2

Patch Set 13 : Rebase #

Patch Set 14 : Fix capitalization compile error after rebase #

Total comments: 1

Patch Set 15 : Response to review #

Patch Set 16 : Add back in DCHECK about flag being enabled #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -125 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animatable/animate-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animation/constructor-expected.txt View 1 chunk +8 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animation/effect-expected.txt View 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animation/finish-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animation/idlharness-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -37 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Animation/startTime-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/Document/getAnimations-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/KeyframeEffect/setTarget-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/current-time-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/reversing-an-animation-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/set-the-animation-start-time-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/set-the-target-effect-of-an-animation-expected.txt View 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/web-animations/timing-model/animations/set-the-timeline-of-an-animation-expected.txt View 1 chunk +16 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/web-animations-api-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.idl View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 74 (57 generated)
suzyh_UTC10 (ex-contributor)
Seeking early feedback / sanity check
3 years, 8 months ago (2017-04-07 04:17:22 UTC) #2
alancutter (OOO until 2018)
I'm not sure that we're ready to ship the Animation constructor just yet, especially without ...
3 years, 8 months ago (2017-04-07 06:43:26 UTC) #7
suzyh_UTC10 (ex-contributor)
On 2017/04/07 at 06:43:26, alancutter wrote: > I'm not sure that we're ready to ship ...
3 years, 8 months ago (2017-04-26 01:40:19 UTC) #22
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2806623003/diff/140001/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2806623003/diff/140001/third_party/WebKit/Source/core/animation/Animation.cpp#newcode97 third_party/WebKit/Source/core/animation/Animation.cpp:97: NOTREACHED(); This is redundant with the ToDocument() call ...
3 years, 8 months ago (2017-04-26 04:34:48 UTC) #30
suzyh_UTC10 (ex-contributor)
I've sent a PSA to blink-dev about this change: https://groups.google.com/a/chromium.org/d/topic/blink-dev/WkNcwh6aISA/discussion. I'll give it a few ...
3 years, 7 months ago (2017-05-25 06:01:42 UTC) #33
suzyh_UTC10 (ex-contributor)
After the discussion on the blink-dev thread, I've changed this to use the Blink-specific Exposed(Arguments) ...
3 years, 6 months ago (2017-06-06 06:21:48 UTC) #45
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2806623003/diff/220001/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2806623003/diff/220001/third_party/WebKit/Source/core/animation/Animation.cpp#newcode92 third_party/WebKit/Source/core/animation/Animation.cpp:92: if (!RuntimeEnabledFeatures::webAnimationsAPIEnabled()) { On 2017/06/06 at 06:21:48, suzyh_UTC10 ...
3 years, 6 months ago (2017-06-07 05:36:15 UTC) #56
alancutter (OOO until 2018)
lgtm
3 years, 6 months ago (2017-06-07 05:36:21 UTC) #57
alancutter (OOO until 2018)
lgtm
3 years, 6 months ago (2017-06-07 05:36:21 UTC) #58
alancutter (OOO until 2018)
On 2017/06/07 at 05:36:21, alancutter wrote: > lgtm This is what happens when you press ...
3 years, 6 months ago (2017-06-07 05:36:48 UTC) #59
suzyh_UTC10 (ex-contributor)
On 2017/06/07 at 05:36:15, alancutter wrote: > lgtm > > https://codereview.chromium.org/2806623003/diff/220001/third_party/WebKit/Source/core/animation/Animation.cpp > File third_party/WebKit/Source/core/animation/Animation.cpp (right): ...
3 years, 6 months ago (2017-06-09 04:21:41 UTC) #60
suzyh_UTC10 (ex-contributor)
+peria for a final check
3 years, 6 months ago (2017-06-09 04:23:49 UTC) #62
bashi
lgtm on Exposed use.
3 years, 6 months ago (2017-06-09 04:32:40 UTC) #66
suzyh_UTC10 (ex-contributor)
On 2017/06/09 at 04:21:41, suzyh_UTC10 wrote: > On 2017/06/07 at 05:36:15, alancutter wrote: > > ...
3 years, 6 months ago (2017-06-09 04:37:01 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2806623003/300001
3 years, 6 months ago (2017-06-09 04:44:07 UTC) #70
peria
lgtm LGTM on Exposed use.
3 years, 6 months ago (2017-06-09 05:52:19 UTC) #71
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 06:24:33 UTC) #74
Message was sent while issue was closed.
Committed patchset #16 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/8427660616e176502578ec0a8298...

Powered by Google App Engine
This is Rietveld 408576698