Bug 1572753 [wpt PR 18346] - Update interfaces/animation-worklet.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 14 Aug 2019 10:46:56 +0000
changeset 488088 861199382e3194b693c09bdfbc76a2b96fd3938b
parent 488087 5fb16b652eb253785ba5b11410ce8ce8501308a9
child 488089 35851bbd834fbf377f9268e94e202d12b1470280
push id36435
push usercbrindusan@mozilla.com
push dateThu, 15 Aug 2019 09:46:49 +0000
treeherdermozilla-central@0db07ff50ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1572753, 18346
milestone70.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 1572753 [wpt PR 18346] - Update interfaces/animation-worklet.idl, a=testonly Automatic update from web-platform-tests Update interfaces/animation-worklet.idl (#18346) Source: https://github.com/tidoust/reffy-reports/blob/47ddc94/whatwg/idl/animation-worklet.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/569675882 -- wpt-commits: 85f26671254f8134a3e26fe5fdae786397aedf66 wpt-pr: 18346
testing/web-platform/tests/interfaces/animation-worklet.idl
--- a/testing/web-platform/tests/interfaces/animation-worklet.idl
+++ b/testing/web-platform/tests/interfaces/animation-worklet.idl
@@ -10,27 +10,28 @@ partial namespace CSS {
 
 [ Global=(Worklet,AnimationWorklet), Exposed=AnimationWorklet ]
 interface AnimationWorkletGlobalScope : WorkletGlobalScope {
     void registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor);
 };
 
 callback AnimatorInstanceConstructor = any (any options, optional any state);
 
+[ Exposed=AnimationWorklet ]
+interface WorkletAnimationEffect {
+    EffectTiming         getTiming();
+    ComputedEffectTiming getComputedTiming();
+    attribute double? localTime;
+};
+
 [Exposed=Window,
  Constructor (DOMString animatorName,
               optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
               optional AnimationTimeline? timeline,
               optional any options)]
 interface WorkletAnimation : Animation {
         readonly attribute DOMString animatorName;
 };
 
 [Exposed=AnimationWorklet]
 interface WorkletGroupEffect {
-  sequence<AnimationEffect> getChildren();
+  sequence<WorkletAnimationEffect> getChildren();
 };
-
-[Exposed=AnimationWorklet]
-partial interface AnimationEffect {
-    // Intended for use inside Animation Worklet scope to drive the effect.
-    attribute double localTime;
-};