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

Issue 1888983003: Fix crash in keyframe-effect/getComputedTiming tests (Closed)

Created:
4 years, 8 months ago by suzyh_UTC10 (ex-contributor)
Modified:
4 years, 8 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in keyframe-effect/getComputedTiming tests The keyframe-effect/getComputedTiming-{progress,currentIteration}.html W3C tests caused an assertion failure in animations with a non-zero value for iterationStart and a duration value of Infinity. The timing calculations in the spec that we were following need to be reworked (see https://github.com/w3c/web-animations/issues/142) but in the meantime this patch adds a workaround for infinite duration animations that avoids the assertion (caused by trying to calculate inf/inf). BUG=600248 Committed: https://crrev.com/ebd2f53756915bbb24eb7230c2fdfa6b8fd0c86a Cr-Commit-Position: refs/heads/master@{#388386}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Response to review #

Patch Set 3 : Add related workaround for compositor animations #

Patch Set 4 : Convert test to ref test #

Messages

Total messages: 34 (11 generated)
suzyh_UTC10 (ex-contributor)
We still fail the test, but now we don't crash X-D
4 years, 8 months ago (2016-04-15 00:31:02 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/1888983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888983003/1
4 years, 8 months ago (2016-04-15 00:31:51 UTC) #4
alancutter (OOO until 2018)
We should add a basic test that covers this behavioural change given that the existing ...
4 years, 8 months ago (2016-04-15 01:01:08 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/1888983003/diff/1/third_party/WebKit/Source/core/animation/AnimationEffect.cpp File third_party/WebKit/Source/core/animation/AnimationEffect.cpp (right): https://codereview.chromium.org/1888983003/diff/1/third_party/WebKit/Source/core/animation/AnimationEffect.cpp#newcode162 third_party/WebKit/Source/core/animation/AnimationEffect.cpp:162: if (!std::isfinite(iterationDuration)) Is there a spec bug we can ...
4 years, 8 months ago (2016-04-15 01:02:00 UTC) #6
suzyh_UTC10 (ex-contributor)
On 2016/04/15 at 01:02:00, alancutter wrote: > https://codereview.chromium.org/1888983003/diff/1/third_party/WebKit/Source/core/animation/AnimationEffect.cpp > File third_party/WebKit/Source/core/animation/AnimationEffect.cpp (right): > > https://codereview.chromium.org/1888983003/diff/1/third_party/WebKit/Source/core/animation/AnimationEffect.cpp#newcode162 ...
4 years, 8 months ago (2016-04-15 01:26:09 UTC) #7
suzyh_UTC10 (ex-contributor)
On 2016/04/15 at 01:01:08, alancutter wrote: > We should add a basic test that covers ...
4 years, 8 months ago (2016-04-15 01:42:55 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 02:53:46 UTC) #10
alancutter (OOO until 2018)
On 2016/04/15 at 01:26:09, suzyh wrote: > On 2016/04/15 at 01:02:00, alancutter wrote: > > ...
4 years, 8 months ago (2016-04-15 03:59:23 UTC) #11
suzyh_UTC10 (ex-contributor)
On 2016/04/15 at 03:59:23, alancutter wrote: > On 2016/04/15 at 01:26:09, suzyh wrote: > > ...
4 years, 8 months ago (2016-04-15 04:43:57 UTC) #12
alancutter (OOO until 2018)
lgtm
4 years, 8 months ago (2016-04-18 01:42:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888983003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888983003/20001
4 years, 8 months ago (2016-04-18 01:48:04 UTC) #15
commit-bot: I haz the power
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/213876)
4 years, 8 months ago (2016-04-18 03:05:48 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888983003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888983003/40001
4 years, 8 months ago (2016-04-19 03:12:04 UTC) #19
suzyh_UTC10 (ex-contributor)
The commit failed due to the virtual/threaded version of the new test; I've added a ...
4 years, 8 months ago (2016-04-19 03:13:04 UTC) #20
alancutter (OOO until 2018)
lgtm We should probably make the new test a ref test instead of using testharness.js ...
4 years, 8 months ago (2016-04-19 04:49:13 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-19 05:01:53 UTC) #23
suzyh_UTC10 (ex-contributor)
On 2016/04/19 at 04:49:13, alancutter wrote: > lgtm > > We should probably make the ...
4 years, 8 months ago (2016-04-19 07:40:09 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888983003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888983003/60001
4 years, 8 months ago (2016-04-19 07:40:29 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-19 08:51:37 UTC) #28
alancutter (OOO until 2018)
lgtm
4 years, 8 months ago (2016-04-20 00:50:09 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1888983003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1888983003/60001
4 years, 8 months ago (2016-04-20 00:51:08 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-20 00:56:44 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:19:17 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ebd2f53756915bbb24eb7230c2fdfa6b8fd0c86a
Cr-Commit-Position: refs/heads/master@{#388386}

Powered by Google App Engine
This is Rietveld 408576698