summaryrefslogtreecommitdiff
path: root/dom/base/nsDocument.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-14 17:43:44 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-14 17:43:44 +0000
commitabc58d2ed0fd7739b31be78d6338ae79206ce879 (patch)
treeb44936cf95aea75ecb8de43d17f46967929f7bfd /dom/base/nsDocument.h
parent931314ef61ce982ac4bae782c67477d48028fc56 (diff)
downloaduxp-abc58d2ed0fd7739b31be78d6338ae79206ce879.tar.gz
Issue #1689 - Part 4: Add a preference for {Document,Element}.getAnimations()
This is probably the last thing we will ship (if ever) since it needs the most spec and implementation work for arbitrary use that is pretty far into a corner.
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r--dom/base/nsDocument.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h
index f544166c20..010f95ae25 100644
--- a/dom/base/nsDocument.h
+++ b/dom/base/nsDocument.h
@@ -435,6 +435,7 @@ public:
static bool IsWebAnimationsEnabled(JSContext* aCx, JSObject* aObject);
static bool AreWebAnimationsImplicitKeyframesEnabled(JSContext* aCx, JSObject* aObject);
static bool AreWebAnimationsTimelinesEnabled(JSContext* aCx, JSObject* aObject);
+ static bool IsWebAnimationsGetAnimationsEnabled(JSContext* aCx, JSObject* aObject);
virtual mozilla::dom::DocumentTimeline* Timeline() override;
virtual void GetAnimations(