Bug 1379515 - Set layout.reflow.synthMouseMove false to avoid synthetic mouse move. r?birtles draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Sat, 28 Oct 2017 18:37:39 +0900
changeset 688161 602c2719ff3e6c91a395729ee95627d208241a99
parent 688160 11703c7f997b9ee043901bb51c57b9083137b960
child 737795 1a06c4d98117fdec06324fc3b89d6e3ae07249ee
push id86669
push userhikezoe@mozilla.com
push dateSat, 28 Oct 2017 10:13:18 +0000
reviewersbirtles
bugs1379515
milestone58.0a1
Bug 1379515 - Set layout.reflow.synthMouseMove false to avoid synthetic mouse move. r?birtles The synthetic mouse move flushes animation styles during running test cases on Linux, it breaks these tests! MozReview-Commit-ID: 26E4DXMg9nn
dom/animation/test/mozilla/test_restyles.html
--- a/dom/animation/test/mozilla/test_restyles.html
+++ b/dom/animation/test/mozilla/test_restyles.html
@@ -3,14 +3,15 @@
 <script src="/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
 <div id='log'></div>
 <script>
 'use strict';
 SimpleTest.waitForExplicitFinish();
 SimpleTest.expectAssertions(0, 1); // bug 1332970
 SpecialPowers.pushPrefEnv(
-  { 'set': [['dom.animations-api.core.enabled', true]] },
+  { 'set': [['dom.animations-api.core.enabled', true],
+            ['layout.reflow.synthMouseMove', false]] },
   function() {
     window.open('file_restyles.html');
   });
 </script>
 </html>