|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by suzyh_UTC10 (ex-contributor) Modified:
4 years, 4 months ago Reviewers:
dstockwell CC:
darktears, 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. |
DescriptionRemove linear-function easing TypeError exemption.
Invalid values for 'easing' should throw a TypeError
(http://w3c.github.io/web-animations/#dom-animationeffecttiming-easing).
In crrev.com/1851003002, this was implemented for all invalid values except
"function (a){return a}", as described in the bug referenced below. The
incidence of this special case is below the feature removal threshold. This
patch removes the exemption, bringing the code in line with the spec.
BUG=601672
Committed: https://crrev.com/5c2c07865e41b3cbb10e8c77508b7f86709a7ce3
Cr-Commit-Position: refs/heads/master@{#412465}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #Patch Set 4 : Rebase #
Messages
Total messages: 27 (14 generated)
suzyh@chromium.org changed reviewers: + dstockwell@chromium.org
The use counter information is available at https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 https://www.chromestatus.com/metrics/feature/timeline/popularity/1296 and go/vwori (internal link).
On 2016/07/07 at 00:36:12, suzyh wrote: > The use counter information is available at > https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 > https://www.chromestatus.com/metrics/feature/timeline/popularity/1296 > and > go/vwori (internal link). The counter is under the threshold, but the usage is still surprisingly high. Overall element.animate usage is around 0.03% and this is almost half of that. Do we know which pages are still hitting this?
The CQ bit was checked by suzyh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/07/08 at 01:13:22, dstockwell wrote: > On 2016/07/07 at 00:36:12, suzyh wrote: > > The use counter information is available at > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1296 > > and > > go/vwori (internal link). > > The counter is under the threshold, but the usage is still surprisingly high. Overall element.animate usage is around 0.03% and this is almost half of that. Do we know which pages are still hitting this? I've been trying to get data on what pages are hitting this use counter but without success. The count is, however, dropping, while overall Element.animate usage is increasing, and recently saw a big jump: https://www.chromestatus.com/metrics/feature/timeline/popularity/773 Are you happy for me to remove this and just respond to extra bug reports if they come in?
On 2016/08/08 at 01:02:58, suzyh wrote: > On 2016/07/08 at 01:13:22, dstockwell wrote: > > On 2016/07/07 at 00:36:12, suzyh wrote: > > > The use counter information is available at > > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 > > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1296 > > > and > > > go/vwori (internal link). > > > > The counter is under the threshold, but the usage is still surprisingly high. Overall element.animate usage is around 0.03% and this is almost half of that. Do we know which pages are still hitting this? > > I've been trying to get data on what pages are hitting this use counter but without success. The count is, however, dropping, while overall Element.animate usage is increasing, and recently saw a big jump: https://www.chromestatus.com/metrics/feature/timeline/popularity/773 > > Are you happy for me to remove this and just respond to extra bug reports if they come in? As discussed offline, I'll hold off on the removal until after the next branch point.
On 2016/08/08 at 01:45:00, suzyh wrote: > On 2016/08/08 at 01:02:58, suzyh wrote: > > On 2016/07/08 at 01:13:22, dstockwell wrote: > > > On 2016/07/07 at 00:36:12, suzyh wrote: > > > > The use counter information is available at > > > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 > > > > https://www.chromestatus.com/metrics/feature/timeline/popularity/1296 > > > > and > > > > go/vwori (internal link). > > > > > > The counter is under the threshold, but the usage is still surprisingly high. Overall element.animate usage is around 0.03% and this is almost half of that. Do we know which pages are still hitting this? > > > > I've been trying to get data on what pages are hitting this use counter but without success. The count is, however, dropping, while overall Element.animate usage is increasing, and recently saw a big jump: https://www.chromestatus.com/metrics/feature/timeline/popularity/773 > > > > Are you happy for me to remove this and just respond to extra bug reports if they come in? > > As discussed offline, I'll hold off on the removal until after the next branch point. In the last week, incidence of this use counter has dropped precipitously: https://www.chromestatus.com/metrics/feature/timeline/popularity/1295 What do you think about removing the exemption in time for the M54 branch point after all?
lgtm
The CQ bit was checked by suzyh@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by suzyh@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dstockwell@chromium.org Link to the patchset: https://codereview.chromium.org/2129783003/#ps40001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by suzyh@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dstockwell@chromium.org Link to the patchset: https://codereview.chromium.org/2129783003/#ps60001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt: While running git rm third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt; fatal: pathspec 'third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt' did not match any files Patch: D third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt Index: third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt b/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt deleted file mode 100644 index 5c33c31bc6c6bd6d9d4b88c9ade3214f5836850e..0000000000000000000000000000000000000000 --- a/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt +++ /dev/null @@ -1,8 +0,0 @@ -CONSOLE WARNING: line 9: Specifying animation easing as a function is deprecated and all support will be removed in M54, around October 2016, at which point this will throw a TypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details. -This is a testharness.js-based test. -PASS Valid easing functions should come out the same as they went in -PASS steps easing second parameter defaults to end -PASS Should accept arbitrary casing and escape chararcters -FAIL Invalid easing values should throw a TypeError assert_throws: with inputEasing='function (a){return a}' function "function () { animate_with_easing(inputEasing); }" did not throw -Harness: the test ran to completion. -
Message was sent while issue was closed.
Description was changed from ========== Remove linear-function easing TypeError exemption. Invalid values for 'easing' should throw a TypeError (http://w3c.github.io/web-animations/#dom-animationeffecttiming-easing). In crrev.com/1851003002, this was implemented for all invalid values except "function (a){return a}", as described in the bug referenced below. The incidence of this special case is below the feature removal threshold. This patch removes the exemption, bringing the code in line with the spec. BUG=601672 ========== to ========== Remove linear-function easing TypeError exemption. Invalid values for 'easing' should throw a TypeError (http://w3c.github.io/web-animations/#dom-animationeffecttiming-easing). In crrev.com/1851003002, this was implemented for all invalid values except "function (a){return a}", as described in the bug referenced below. The incidence of this special case is below the feature removal threshold. This patch removes the exemption, bringing the code in line with the spec. BUG=601672 Committed: https://crrev.com/5c2c07865e41b3cbb10e8c77508b7f86709a7ce3 Cr-Commit-Position: refs/heads/master@{#412465} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/5c2c07865e41b3cbb10e8c77508b7f86709a7ce3 Cr-Commit-Position: refs/heads/master@{#412465} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
