Bug 1476158 - Enable dom.animations-api.core.enabled on beta/release; r?bz draft
authorBrian Birtles <birtles@gmail.com>
Wed, 18 Jul 2018 10:46:38 +0900
changeset 819534 523c9f173f510e0a1fd0bf6ac83130a53a5e7dcf
parent 819533 13e3a4fc0381d6eff08d50849408498a7e6fcde9
push id116576
push userbmo:bbirtles@mozilla.com
push dateWed, 18 Jul 2018 03:26:15 +0000
reviewersbz
bugs1476158
milestone63.0a1
Bug 1476158 - Enable dom.animations-api.core.enabled on beta/release; r?bz Intent to ship: https://groups.google.com/forum/#!topic/mozilla.dev.platform/fcFctnUjs7A MozReview-Commit-ID: CMMUWvxSm1T
dom/tests/mochitest/general/test_interfaces.js
modules/libpref/init/all.js
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -120,21 +120,21 @@ var interfaceNamesInGlobalScope =
     {name: "AbortController", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "AbortSignal", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "AnalyserNode", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "Animation", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "AnimationEffect", insecureContext: true, release: false},
+    {name: "AnimationEffect", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "AnimationEvent", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "AnimationPlaybackEvent", insecureContext: true, release: false},
+    {name: "AnimationPlaybackEvent", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "AnimationTimeline", insecureContext: true, release: false},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "Attr", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "Audio", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "AudioBuffer", insecureContext: true},
@@ -604,17 +604,17 @@ var interfaceNamesInGlobalScope =
     {name: "IntersectionObserver", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "IntersectionObserverEntry", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "KeyEvent", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "KeyboardEvent", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    {name: "KeyframeEffect", insecureContext: true, release: false},
+    {name: "KeyframeEffect", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "LocalMediaStream", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "Location", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "MediaDeviceInfo", insecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "MediaDevices", insecureContext: true},
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -3064,21 +3064,17 @@ pref("layout.idle_period.required_quiesc
 // The amount of time (milliseconds) needed between an idle period's
 // end and the start of the next tick to avoid jank.
 pref("layout.idle_period.time_limit", 1);
 
 // Whether -webkit-appearance is aliased to -moz-appearance
 pref("layout.css.webkit-appearance.enabled", false);
 
 // Is support for the core interfaces of Web Animations API enabled?
-#ifdef RELEASE_OR_BETA
-pref("dom.animations-api.core.enabled", false);
-#else
 pref("dom.animations-api.core.enabled", true);
-#endif
 
 // Pref to throttle offsreen animations
 pref("dom.animations.offscreen-throttling", true);
 
 // Prefs to control the maximum area to pre-render when animating a large
 // element on the compositor.
 pref("layout.animation.prerender.partial", false);
 pref("layout.animation.prerender.viewport-ratio-limit-x", "1.125");