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

Issue 1867803002: Add use counters for function values of easing (Closed)

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

Description

Add use counters for function values of easing Due to a bug in old versions of the web-animations-next polyfill, in some circumstances the string passed in to AnimationInputHelpers::parseTimingFunction may be a Javascript function instead of the allowed values from the spec (http://w3c.github.io/web-animations/#dom-animationeffecttimingreadonly-easing) This bug was fixed in https://github.com/web-animations/web-animations-next/pull/423 and we want to track how often it is still being hit. The linear case is special because 'linear' is the default value for easing. BUG=601672 Committed: https://crrev.com/51a95e49695ae972bc8315dca6b4a3c08a486910 Cr-Commit-Position: refs/heads/master@{#386037}

Patch Set 1 #

Total comments: 3

Patch Set 2 : UseCounter tests and response to review #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase, updating UseCounter enum values #

Patch Set 5 : Rebase and update UseCounters again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -29 lines) Patch
A third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other2.html View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp View 1 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationInputHelpers.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationInputHelpers.cpp View 1 2 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.cpp View 1 2 3 chunks +18 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/animation/EffectInput.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/ElementAnimation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInput.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/TimingInputTest.cpp View 1 4 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (21 generated)
suzyh_UTC10 (ex-contributor)
The only thing that's missing now is a layout test for the use-counting itself; I'll ...
4 years, 8 months ago (2016-04-07 07:06:41 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/1867803002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/1
4 years, 8 months ago (2016-04-07 07:07:03 UTC) #4
alancutter (OOO until 2018)
https://codereview.chromium.org/1867803002/diff/1/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp File third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp (right): https://codereview.chromium.org/1867803002/diff/1/third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp#newcode133 third_party/WebKit/Source/core/animation/AnimationEffectTiming.cpp:133: TimingInput::setTimingFunction(timing, easing, nullptr); I would add a TODO here ...
4 years, 8 months ago (2016-04-07 07:36:20 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 08:26:27 UTC) #8
suzyh_UTC10 (ex-contributor)
I've now added tests for the use counters. I've had to split it up into ...
4 years, 8 months ago (2016-04-08 01:14:23 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/20001
4 years, 8 months ago (2016-04-08 01:14:45 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/118698) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 8 months ago (2016-04-08 01:18:16 UTC) #13
Timothy Loh
Is there a tracking bug or something like that? It isn't clear to me why ...
4 years, 8 months ago (2016-04-08 01:20:25 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/40001
4 years, 8 months ago (2016-04-08 01:26:55 UTC) #16
suzyh_UTC10 (ex-contributor)
On 2016/04/08 at 01:20:25, timloh wrote: > Is there a tracking bug or something like ...
4 years, 8 months ago (2016-04-08 01:43:48 UTC) #18
alancutter (OOO until 2018)
lgtm
4 years, 8 months ago (2016-04-08 02:05:18 UTC) #20
dstockwell
lgtm
4 years, 8 months ago (2016-04-08 02:44:08 UTC) #21
suzyh_UTC10 (ex-contributor)
+isherman for tools/metrics OWNERS approval
4 years, 8 months ago (2016-04-08 02:53:51 UTC) #23
suzyh_UTC10 (ex-contributor)
On 2016/04/08 at 02:53:51, suzyh wrote: > +isherman for tools/metrics OWNERS approval By the way, ...
4 years, 8 months ago (2016-04-08 03:08:46 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-08 03:12:21 UTC) #26
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-04-08 05:59:31 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/40001
4 years, 8 months ago (2016-04-08 05:59:54 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166232)
4 years, 8 months ago (2016-04-08 06:06:51 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/60001
4 years, 8 months ago (2016-04-08 06:25:25 UTC) #34
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/frame/UseCounter.h: While running git apply --index -3 -p1; error: patch ...
4 years, 8 months ago (2016-04-08 07:51:25 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/60001
4 years, 8 months ago (2016-04-08 07:53:39 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166261)
4 years, 8 months ago (2016-04-08 08:00:03 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1867803002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1867803002/80001
4 years, 8 months ago (2016-04-08 08:08:16 UTC) #43
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-08 10:21:59 UTC) #44
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 10:23:18 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/51a95e49695ae972bc8315dca6b4a3c08a486910
Cr-Commit-Position: refs/heads/master@{#386037}

Powered by Google App Engine
This is Rietveld 408576698