merge mozilla-central to autoland. r=merge a=merge
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 25 Oct 2017 13:05:15 +0200
changeset 686177 b3d0e7e94d930c2cf636e490ab0a0a8b5f29f567
parent 686176 21c278929088b7d10417ca6f3c05639c04bfeea4 (current diff)
parent 686074 dfb54d604158f5605fb07f41751e36bfef641a2f (diff)
child 686178 1b9b85bd44aa1b6c4caeb35d52b654a82f6fef61
child 686635 cb048d1f6c10f4718fb32cad8d81ffacb136ed48
child 686636 6d867f842fc011f8e03dc3ac56e967ef405842c7
child 686708 b457bd569d8357ceb3d4e4fabb348a9406a62c32
push id86115
push userbmo:emilio@crisal.io
push dateWed, 25 Oct 2017 14:47:42 +0000
reviewersmerge, merge
milestone58.0a1
merge mozilla-central to autoland. r=merge a=merge
--- a/dom/tests/mochitest/pointerlock/file_pointerlock-api.html
+++ b/dom/tests/mochitest/pointerlock/file_pointerlock-api.html
@@ -70,21 +70,17 @@
           window.addEventListener("contextmenu",
                                   function() { gotContextMenuEvent = true; },
                                   true);
           synthesizeMouse(document.body, 4, 4,
                           { type: "contextmenu", button: 2 },
                           window);
 
           document.addEventListener("mousemove", mouseMoveHandler);
-          requestAnimationFrame(() => {
-            setTimeout(() => {
-              synthesizeMouseAtCenter(div, {type: "mousemove"}, window);
-            }, 0);
-          });
+          synthesizeMouseAtCenter(div, {type: "mousemove"}, window);
         } else {
           info("Got pointerlockchange for exiting");
           pointerUnlocked = true;
           addFullscreenChangeContinuation("exit", function() {
             info("Got fullscreenchange for exiting");
             runTests();
             SimpleTest.finish();
           });