merge mozilla-central to autoland. r=merge a=merge
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();
});