Bug 1379515 - Set layout.reflow.synthMouseMove false to avoid synthetic mouse move. r?birtles draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Mon, 30 Oct 2017 09:50:27 +0900
changeset 688374 c9976b50ec9d2df8e4653fe342ceecffb8865af5
parent 688373 f1ac595a224285a5e4fa1a724ba44d1631b15657
child 688382 1d0c30b3ad05b77170b07cdc16d0903db24e068d
push id86728
push userhikezoe@mozilla.com
push dateMon, 30 Oct 2017 01:20:23 +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: DOT7m3fhrZi
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>