From 96ecd40ffbdaa37e12bf90b470740b1c5d7f6a77 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 17 Jun 2015 23:32:04 +1000 Subject: [PATCH] Bug 919106 - Not check pointer lock element for non-first mousemove call in screenClientXYConst test. rs=RyanVM --HG-- extra : source : 43e363c256f8af61ec598e99feabc6bcc172b938 --- dom/tests/mochitest/pointerlock/file_screenClientXYConst.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/tests/mochitest/pointerlock/file_screenClientXYConst.html b/dom/tests/mochitest/pointerlock/file_screenClientXYConst.html index 45000c743944..200feec207ab 100644 --- a/dom/tests/mochitest/pointerlock/file_screenClientXYConst.html +++ b/dom/tests/mochitest/pointerlock/file_screenClientXYConst.html @@ -53,7 +53,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602 todo(false, "mousemove is fired twice."); } - isUnlocked = !document.mozPointerLockElement; unLockedCoords = { screenX: e.screenX, screenY: e.screenY, @@ -65,6 +64,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=633602 return; } + isUnlocked = !document.mozPointerLockElement; div.mozRequestPointerLock(); }