test_synthmousemove.html (616B)
1 <!doctype html> 2 <title>test synth mouse moves go to the right place with fission</title> 3 <script src="/tests/SimpleTest/SimpleTest.js"></script> 4 <script src="/tests/SimpleTest/EventUtils.js"></script> 5 6 <script> 7 SimpleTest.waitForExplicitFinish(); 8 9 function runTest() { 10 window.open("file_synthmousemove.html", "_blank"); 11 } 12 13 function reportSuccess() { 14 ok(true, "reportSuccess"); 15 SimpleTest.finish(); 16 } 17 18 function prepareTest() { 19 window.requestAnimationFrame(function() { 20 SpecialPowers.pushPrefEnv({"set":[["general.smoothScroll", false]]}, runTest); 21 }); 22 } 23 24 SimpleTest.waitForFocus(prepareTest); 25 </script>