Bug 1430841 Re-enable the Reduce Timer Precision pref for CSS Animations tests r?birtles draft
authorTom Ritter <tom@mozilla.com>
Fri, 16 Feb 2018 15:45:33 -0600
changeset 758829 9926dc444373772e2fb11659267a55608fb5ace6
parent 758828 501e78ed4ace9d637f76480b0ea5bb7713260070
push id100188
push userbmo:tom@mozilla.com
push dateFri, 23 Feb 2018 03:38:57 +0000
reviewersbirtles
bugs1430841
milestone60.0a1
Bug 1430841 Re-enable the Reduce Timer Precision pref for CSS Animations tests r?birtles Currently CSS Animations are exempted from Reduce Timer Precision, so this isn't needed. Additionally, when we test by overriding that restriction, these tests aren't run, which leads to confusion. MozReview-Commit-ID: Gv6T3oGO475
dom/animation/test/css-animations/test_animation-starttime.html
dom/animation/test/css-animations/test_event-dispatch.html
--- a/dom/animation/test/css-animations/test_animation-starttime.html
+++ b/dom/animation/test/css-animations/test_animation-starttime.html
@@ -2,16 +2,14 @@
 <meta charset=utf-8>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <div id="log"></div>
 <script>
 'use strict';
 setup({explicit_done: true});
 SpecialPowers.pushPrefEnv(
-  { "set": 
-      [["dom.animations-api.core.enabled", true],
-       ["privacy.reduceTimerPrecision", false]]},
+  { "set": [["dom.animations-api.core.enabled", true]] },
   function() {
     window.open("file_animation-starttime.html");
   });
 </script>
 </html>
--- a/dom/animation/test/css-animations/test_event-dispatch.html
+++ b/dom/animation/test/css-animations/test_event-dispatch.html
@@ -2,16 +2,14 @@
 <meta charset=utf-8>
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 <div id="log"></div>
 <script>
 'use strict';
 setup({explicit_done: true});
 SpecialPowers.pushPrefEnv(
-  { "set":
-  	  [["dom.animations-api.core.enabled", true],
-       ["privacy.reduceTimerPrecision", false]]},
+  { "set": [["dom.animations-api.core.enabled", true]] },
   function() {
     window.open("file_event-dispatch.html");
   });
 </script>
 </html>