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/base/nsDocument.h | |
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/base/nsDocument.h')
-rw-r--r-- | dom/base/nsDocument.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index 951ed2616..a1fb04c6b 100644 --- a/dom/base/nsDocument.h +++ b/dom/base/nsDocument.h @@ -433,6 +433,8 @@ public: static bool IsElementAnimateEnabled(JSContext* aCx, JSObject* aObject); static bool IsWebAnimationsEnabled(JSContext* aCx, JSObject* aObject); + static bool AreWebAnimationsTimelinesEnabled(JSContext* aCx, JSObject* aObject); + virtual mozilla::dom::DocumentTimeline* Timeline() override; virtual void GetAnimations( nsTArray<RefPtr<mozilla::dom::Animation>>& aAnimations) override; |