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

Issue 1906463002: Web Animations: Throw TypeErrors for invalid timing parameters (Closed)

Created:
4 years, 8 months ago by alancutter (OOO until 2018)
Modified:
4 years, 8 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, Eric Willigers, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rjwright, sergeyv+blink_chromium.org, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web Animations: Throw TypeErrors for invalid timing parameters This change throws TypeErrors when invalid parameters are given for the following AnimationEffectTiming parameters: - iterationStart - iterations - duration See spec for valid inputs: https://w3c.github.io/web-animations/#animationeffecttiming BUG=605450 Committed: https://crrev.com/f760e7025c61bd64c3a6bdcf22b1af294ebcad90 Cr-Commit-Position: refs/heads/master@{#390040}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added tests #

Patch Set 3 : Fix tests #

Patch Set 4 : Fix unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -170 lines) Patch
M third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt View 1 2 1 chunk +11 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/iterationStart-expected.txt View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/iterations-expected.txt View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/web-animations-api/timed-item-specified-setters.html View 1 1 chunk +101 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationEffectTiming.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp View 1 chunk +9 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.h View 2 chunks +13 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Timing.h View 1 2 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.h View 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.cpp View 1 3 chunks +49 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInputTest.cpp View 1 2 3 4 chunks +62 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMarqueeElement.js View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/DataEquivalency.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
suzyh_UTC10 (ex-contributor)
A couple of initial comments. https://codereview.chromium.org/1906463002/diff/1/third_party/WebKit/Source/core/animation/TimingInput.cpp File third_party/WebKit/Source/core/animation/TimingInput.cpp (right): https://codereview.chromium.org/1906463002/diff/1/third_party/WebKit/Source/core/animation/TimingInput.cpp#newcode84 third_party/WebKit/Source/core/animation/TimingInput.cpp:84: timing.iterationDuration = -1; The ...
4 years, 8 months ago (2016-04-20 21:54:12 UTC) #2
alancutter (OOO until 2018)
Updated tests. +timloh for minor changes to core/style. https://codereview.chromium.org/1906463002/diff/1/third_party/WebKit/Source/core/animation/TimingInput.cpp File third_party/WebKit/Source/core/animation/TimingInput.cpp (right): https://codereview.chromium.org/1906463002/diff/1/third_party/WebKit/Source/core/animation/TimingInput.cpp#newcode84 third_party/WebKit/Source/core/animation/TimingInput.cpp:84: timing.iterationDuration ...
4 years, 8 months ago (2016-04-21 08:33:07 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906463002/20001
4 years, 8 months ago (2016-04-21 08:33:30 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/149561)
4 years, 8 months ago (2016-04-21 09:32:36 UTC) #9
suzyh_UTC10 (ex-contributor)
lgtm
4 years, 8 months ago (2016-04-22 00:32:37 UTC) #10
Timothy Loh
lgtm for core/(not animation)
4 years, 8 months ago (2016-04-22 00:36:56 UTC) #11
alancutter (OOO until 2018)
+haraken for additional change to core/html/HTMLMarqueeElement.js to make fast/inline/inline-marquee-crash.html pass. Updated imported web-animations tests with ...
4 years, 8 months ago (2016-04-26 02:08:13 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906463002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906463002/40001
4 years, 8 months ago (2016-04-26 02:08:57 UTC) #15
haraken
HTMLMarqueeElement.js LGTM
4 years, 8 months ago (2016-04-26 03:24:22 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/211188)
4 years, 8 months ago (2016-04-26 03:30:44 UTC) #18
alancutter (OOO until 2018)
Updated unit tests, suzyh PTAL.
4 years, 8 months ago (2016-04-26 07:15:38 UTC) #19
suzyh_UTC10 (ex-contributor)
lgtm yay for passing more web-platform-tests!
4 years, 8 months ago (2016-04-27 00:08:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906463002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906463002/60001
4 years, 8 months ago (2016-04-27 01:09:04 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/128318)
4 years, 8 months ago (2016-04-27 01:14:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1906463002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1906463002/60001
4 years, 8 months ago (2016-04-27 10:01:40 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-27 10:25:23 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-27 10:27:14 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f760e7025c61bd64c3a6bdcf22b1af294ebcad90
Cr-Commit-Position: refs/heads/master@{#390040}

Powered by Google App Engine
This is Rietveld 408576698