Bug 1267510 part 4 - Modify WebIDL of DocumentTimeline. r?smaug draft
authorMantaroh Yoshinaga <mantaroh@gmail.com>
Wed, 29 Jun 2016 11:14:11 +0900
changeset 382150 e56382b59888c19174ee74a006dfb79fa4fef38f
parent 382149 ec92ec149a1ee6911c28a925b262d068825a6cad
child 382151 fdfdea6e87c5554828597193d75a3f503f0bee2b
push id21637
push usermantaroh@gmail.com
push dateWed, 29 Jun 2016 02:14:31 +0000
reviewerssmaug
bugs1267510
milestone50.0a1
Bug 1267510 part 4 - Modify WebIDL of DocumentTimeline. r?smaug The specification of DocumentTimeline interface is as follow. https://w3c.github.io/web-animations/#the-documenttimeline-interface MozReview-Commit-ID: jmcJPiVK9i
dom/webidl/DocumentTimeline.webidl
--- a/dom/webidl/DocumentTimeline.webidl
+++ b/dom/webidl/DocumentTimeline.webidl
@@ -5,13 +5,12 @@
  *
  * The origin of this IDL file is
  * https://w3c.github.io/web-animations/#documenttimeline
  *
  * Copyright © 2015 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
  * liability, trademark and document use rules apply.
  */
 
-// Not yet implemented:
-// [Constructor (DOMHighResTimeStamp originTime)]
-[Func="nsDocument::IsWebAnimationsEnabled"]
+[Func="nsDocument::IsWebAnimationsEnabled",
+ Constructor (DOMHighResTimeStamp originTime)]
 interface DocumentTimeline : AnimationTimeline {
 };