Bug 1585248 [wpt PR 19431] - Update interfaces/web-animations.idl, a=testonly
authorautofoolip <auto@foolip.org>
Mon, 07 Oct 2019 22:00:58 +0000
changeset 497376 587cff47bef09cf2da49ad16043975c77580b18a
parent 497375 7d2a94fd7c6bc6bea4c427bd5e9d8b1d49ef049a
child 497377 06e80e7addc1633bd291154f24b20f2cadd695ec
push id114149
push userwptsync@mozilla.com
push dateMon, 14 Oct 2019 13:14:00 +0000
treeherdermozilla-inbound@7dba29552629 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1585248, 19431
milestone71.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 1585248 [wpt PR 19431] - Update interfaces/web-animations.idl, a=testonly Automatic update from web-platform-tests Update interfaces/web-animations.idl (#19431) Source: https://github.com/tidoust/reffy-reports/blob/ac97ef8/ed/idl/web-animations.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/591867264 -- wpt-commits: f1e1bd6bfa544af8059ff8ef79d622281f9ec0a8 wpt-pr: 19431
testing/web-platform/tests/interfaces/web-animations.idl
--- a/testing/web-platform/tests/interfaces/web-animations.idl
+++ b/testing/web-platform/tests/interfaces/web-animations.idl
@@ -7,25 +7,25 @@
 interface AnimationTimeline {
     readonly attribute double? currentTime;
 };
 
 dictionary DocumentTimelineOptions {
   DOMHighResTimeStamp originTime = 0;
 };
 
-[Exposed=Window,
- Constructor(optional DocumentTimelineOptions options = {})]
+[Exposed=Window]
 interface DocumentTimeline : AnimationTimeline {
+  constructor(optional DocumentTimelineOptions options = {});
 };
 
-[Exposed=Window,
- Constructor(optional AnimationEffect? effect = null,
-             optional AnimationTimeline? timeline)]
+[Exposed=Window]
 interface Animation : EventTarget {
+    constructor(optional AnimationEffect? effect = null,
+                optional AnimationTimeline? timeline);
              attribute DOMString                id;
              attribute AnimationEffect?         effect;
     readonly attribute AnimationTimeline?       timeline;
              attribute double?                  startTime;
              attribute double?                  currentTime;
              attribute double                   playbackRate;
     readonly attribute AnimationPlayState       playState;
     readonly attribute AnimationReplaceState    replaceState;
@@ -85,22 +85,22 @@ enum PlaybackDirection { "normal", "reve
 dictionary ComputedEffectTiming : EffectTiming {
     unrestricted double  endTime;
     unrestricted double  activeDuration;
     double?              localTime;
     double?              progress;
     unrestricted double? currentIteration;
 };
 
-[Exposed=Window,
- Constructor((Element or CSSPseudoElement)? target,
-             object? keyframes,
-             optional (unrestricted double or KeyframeEffectOptions) options = {}),
- Constructor(KeyframeEffect source)]
+[Exposed=Window]
 interface KeyframeEffect : AnimationEffect {
+    constructor((Element or CSSPseudoElement)? target,
+                object? keyframes,
+                optional (unrestricted double or KeyframeEffectOptions) options = {});
+    constructor(KeyframeEffect source);
     attribute (Element or CSSPseudoElement)? target;
     attribute CompositeOperation             composite;
     sequence<object> getKeyframes();
     void             setKeyframes(object? keyframes);
 };
 
 dictionary BaseComputedKeyframe {
      double?                  offset = null;
@@ -150,18 +150,18 @@ partial interface Document {
 partial interface mixin DocumentOrShadowRoot {
     sequence<Animation> getAnimations();
 };
 
 Element includes Animatable;
 
 CSSPseudoElement includes Animatable;
 
-[Exposed=Window,
- Constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {})]
+[Exposed=Window]
 interface AnimationPlaybackEvent : Event {
+    constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
     readonly attribute double? currentTime;
     readonly attribute double? timelineTime;
 };
 dictionary AnimationPlaybackEventInit : EventInit {
     double? currentTime = null;
     double? timelineTime = null;
 };