Bug 1178662 part 5 - Modify the attribute of Animation's WebIDL in order to conform web animation spec. r?smaug draft
authorMantaroh Yoshinaga <mantaroh@gmail.com>
Tue, 31 May 2016 09:42:38 +0900
changeset 373071 2ce51412937718a0711c1a21e694e14c824f0715
parent 373070 f04d8697524b7e31ebc789ed70413f4d9c563163
child 373072 48003f8e0da2b039a6f978584a2b254076f05c90
push id19674
push usermantaroh@gmail.com
push dateTue, 31 May 2016 00:42:59 +0000
reviewerssmaug
bugs1178662
milestone49.0a1
Bug 1178662 part 5 - Modify the attribute of Animation's WebIDL in order to conform web animation spec. r?smaug The specification of Animation interface is as follow. https://w3c.github.io/web-animations/#the-animation-interface MozReview-Commit-ID: O4NkFZuG39
dom/webidl/Animation.webidl
--- a/dom/webidl/Animation.webidl
+++ b/dom/webidl/Animation.webidl
@@ -16,17 +16,17 @@ enum AnimationPlayState { "idle", "pendi
  Constructor (optional KeyframeEffectReadOnly? effect = null,
               optional AnimationTimeline? timeline)]
 interface Animation : EventTarget {
   attribute DOMString id;
   // Bug 1049975: Make 'effect' writeable
   [Func="nsDocument::IsWebAnimationsEnabled", Pure]
   readonly attribute AnimationEffectReadOnly? effect;
   [Func="nsDocument::IsWebAnimationsEnabled"]
-  readonly attribute AnimationTimeline? timeline;
+  attribute AnimationTimeline? timeline;
   [BinaryName="startTimeAsDouble"]
   attribute double? startTime;
   [SetterThrows, BinaryName="currentTimeAsDouble"]
   attribute double? currentTime;
 
            attribute double             playbackRate;
   [BinaryName="playStateFromJS"]
   readonly attribute AnimationPlayState playState;