From dd47bee6468de7e1221b4d006342ad6b9813d0e5 Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Wed, 25 Oct 2017 13:02:51 +0200 Subject: [PATCH] Backed out changeset f67f8342b981 (bug 1357082) on request from jmaher for still high frequency. r=backout a=backout MozReview-Commit-ID: 5aI3SCZVaT9 --HG-- extra : amend_source : eecf508380597815c7ad8199e8f3ac2b8ab53d35 --- dom/tests/mochitest/pointerlock/file_pointerlock-api.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dom/tests/mochitest/pointerlock/file_pointerlock-api.html b/dom/tests/mochitest/pointerlock/file_pointerlock-api.html index 036635c97f13..8c5d0f9dfe51 100644 --- a/dom/tests/mochitest/pointerlock/file_pointerlock-api.html +++ b/dom/tests/mochitest/pointerlock/file_pointerlock-api.html @@ -75,11 +75,7 @@ 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;