From b0fe759f033f36a9a85afd7cc358b4800def5013 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 14 Jan 2021 14:46:52 +0000 Subject: Issue #1689 - Part 1: Add pref for DOM Animation timelines API Default false, no intent to ship for web content. Always enabled for Chrome. --- dom/base/nsDocument.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dom/base/nsDocument.h') diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index 951ed26169..a1fb04c6b0 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>& aAnimations) override; -- cgit v1.2.3