Bug 1448700 [wpt PR 10171] - Web Animations: remove timing objects, a=testonly
authorStephen McGruer <smcgruer@chromium.org>
Mon, 09 Apr 2018 22:15:09 +0000
changeset 413758 2802f5c47a8a043b0c66671e98b6d8c24ff2cde3
parent 413757 4622504dd3e50bf3ee3a8192aa806614e1ae1a4e
child 413759 5c615d1b5baee09ecdbea2e0962b709a69b64a0c
push id33850
push userapavel@mozilla.com
push dateMon, 16 Apr 2018 09:53:48 +0000
treeherdermozilla-central@6276ec7ebbf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1448700, 10171, 823384, 823386, 975923, 548403
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1448700 [wpt PR 10171] - Web Animations: remove timing objects, a=testonly Automatic update from web-platform-testsWeb Animations: remove timing objects The upstream spec has removed the 'timing' objects and replaced them with updateTiming/getTiming methods on AnimationEffect. It also removed and renamed a few timing idl interfaces; see the bug for full details. This CL also refactors the timing input parsing, aiming to make the public TimingInput API match what the spec requires and not expose other unnecessary methods. See https://github.com/w3c/csswg-drafts/pull/2432 for the spec change. Bug: 823384, 823386 Change-Id: I40c82e46be29c16e2e4b53d69bbadc95c8bff324 Reviewed-on: https://chromium-review.googlesource.com/975923 Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Xida Chen <xidachen@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#548403} wpt-commits: f6c1d7b9aafaa94ab53239634e1bbc433e32adb4 wpt-pr: 10171 wpt-commits: f6c1d7b9aafaa94ab53239634e1bbc433e32adb4 wpt-pr: 10171
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -518299,17 +518299,17 @@
    "31f6c1fda071b21ef88e98d1901f0a0c31ca47f8",
    "reftest"
   ],
   "css/css-timing/OWNERS": [
    "7c9899aa9065ffe6e1206b630124d4939ae53c8f",
    "support"
   ],
   "css/css-timing/cubic-bezier-timing-functions-output.html": [
-   "77a45437209844f7e5128bd6aa2efeeacf876187",
+   "2d60e1bcdad1f454373ecde2367bb9a9a223cd12",
    "testharness"
   ],
   "css/css-timing/frames-timing-functions-output.html": [
    "fe9a931466f31605f1a09d5f95589cc54ee34663",
    "testharness"
   ],
   "css/css-timing/frames-timing-functions-syntax.html": [
    "7ac5eef9cec74746aa076912285398f525b01c06",
--- a/testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
+++ b/testing/web-platform/tests/css/css-timing/cubic-bezier-timing-functions-output.html
@@ -10,17 +10,17 @@ href="https://drafts.csswg.org/css-timin
 <script src="testcommon.js"></script>
 <body>
 <div id="log"></div>
 <script>
 'use strict';
 
 function assert_style_left_at(animation, time, easingFunction) {
   animation.currentTime = time;
-  var portion = time / animation.effect.timing.duration;
+  var portion = time / animation.effect.getTiming()['duration'];
   assert_approx_equals(pxToNum(getComputedStyle(animation.effect.target).left),
                        easingFunction(portion) * 100,
                        0.01,
                        'The left of the animation should be approximately ' +
                        easingFunction(portion) * 100 + ' at ' + time + 'ms');
 }
 
 test(function(t) {