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
This commit is contained in:
Sebastian Hengst 2017-10-25 13:02:51 +02:00
parent 74800ca743
commit dd47bee646

View File

@ -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;