diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-14 14:46:52 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-14 14:46:52 +0000 |
commit | b0fe759f033f36a9a85afd7cc358b4800def5013 (patch) | |
tree | efc8d2e0668b2f4506388cc92d6087809f84ee50 /dom/webidl | |
parent | 51581427794bb41142285bc837e9cf461d8abe7a (diff) | |
download | UXP-b0fe759f033f36a9a85afd7cc358b4800def5013.tar UXP-b0fe759f033f36a9a85afd7cc358b4800def5013.tar.gz UXP-b0fe759f033f36a9a85afd7cc358b4800def5013.tar.lz UXP-b0fe759f033f36a9a85afd7cc358b4800def5013.tar.xz UXP-b0fe759f033f36a9a85afd7cc358b4800def5013.zip |
Issue #1689 - Part 1: Add pref for DOM Animation timelines API
Default false, no intent to ship for web content. Always enabled for Chrome.
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/Animation.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/AnimationTimeline.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/Document.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/DocumentTimeline.webidl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/dom/webidl/Animation.webidl b/dom/webidl/Animation.webidl index 615084f75..9fdea5ade 100644 --- a/dom/webidl/Animation.webidl +++ b/dom/webidl/Animation.webidl @@ -19,7 +19,7 @@ interface Animation : EventTarget { attribute DOMString id; [Func="nsDocument::IsWebAnimationsEnabled", Pure] attribute AnimationEffectReadOnly? effect; - [Func="nsDocument::IsWebAnimationsEnabled"] + [Func="nsDocument::AreWebAnimationsTimelinesEnabled"] attribute AnimationTimeline? timeline; [BinaryName="startTimeAsDouble"] attribute double? startTime; diff --git a/dom/webidl/AnimationTimeline.webidl b/dom/webidl/AnimationTimeline.webidl index fe3d0fb49..4cf5567ce 100644 --- a/dom/webidl/AnimationTimeline.webidl +++ b/dom/webidl/AnimationTimeline.webidl @@ -10,7 +10,7 @@ * liability, trademark and document use rules apply. */ -[Func="nsDocument::IsWebAnimationsEnabled"] +[Func="nsDocument::AreWebAnimationsTimelinesEnabled"] interface AnimationTimeline { [BinaryName="currentTimeAsDouble"] readonly attribute double? currentTime; diff --git a/dom/webidl/Document.webidl b/dom/webidl/Document.webidl index 26985202b..46db00876 100644 --- a/dom/webidl/Document.webidl +++ b/dom/webidl/Document.webidl @@ -312,7 +312,7 @@ partial interface Document { // http://w3c.github.io/web-animations/#extensions-to-the-document-interface partial interface Document { - [Func="nsDocument::IsWebAnimationsEnabled"] + [Func="nsDocument::AreWebAnimationsTimelinesEnabled"] readonly attribute DocumentTimeline timeline; [Func="nsDocument::IsWebAnimationsEnabled"] sequence<Animation> getAnimations(); diff --git a/dom/webidl/DocumentTimeline.webidl b/dom/webidl/DocumentTimeline.webidl index 916b1a491..f10e2b365 100644 --- a/dom/webidl/DocumentTimeline.webidl +++ b/dom/webidl/DocumentTimeline.webidl @@ -14,7 +14,7 @@ dictionary DocumentTimelineOptions { DOMHighResTimeStamp originTime = 0; }; -[Func="nsDocument::IsWebAnimationsEnabled", +[Func="nsDocument::AreWebAnimationsTimelinesEnabled", Constructor (optional DocumentTimelineOptions options)] interface DocumentTimeline : AnimationTimeline { }; |