Bug 1051783 - Fix test_pointerlock-api.html. r=Enn, a=test-only
☠☠ backed out by 4c2562fa8455 ☠ ☠
authorMartijn Wargers <mwargers@mozilla.com>
Mon, 18 Aug 2014 18:21:08 +0200
changeset 188501 450e53add6a1b98c5d1c9c8eaa31ac7b5186f4d8
parent 188500 e6ecf07733ff0565602982b7194766c5d0814f50
child 188502 325043b0b066165608eab1e1160155519c30fba7
push id629
push userryanvm@gmail.com
push dateTue, 19 Aug 2014 21:31:42 +0000
treeherdermozilla-b2g30_v1_4@6510df0cce6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEnn, test-only
bugs1051783
milestone30.0
Bug 1051783 - Fix test_pointerlock-api.html. r=Enn, a=test-only
dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
--- a/dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
+++ b/dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
@@ -129,17 +129,17 @@ https://bugzilla.mozilla.org/show_bug.cg
       };
 
       var parentUpTest = function (e) {
         parentStats.mouseUp = true;
         parent.removeEventListener("mouseup", parentUpTest);
         child.removeEventListener("mouseup", childUpTest);
         parent.addEventListener("click", parentClickTest);
         child.addEventListener("click", childClickTest);
-        synthesizeMouseAtCenter(child, {type: "click"}, window);
+        synthesizeMouseAtCenter(child, {}, window);
       };
 
       var parentClickTest = function (e) {
         parentStats.mouseClick = true;
         parent.removeEventListener("click", parentClickTest);
         child.removeEventListener("click", childClickTest);
         parent.addEventListener("mousemove", parentMoveTest);
         child.addEventListener("mousemove", childMoveTest);