Bug 1051783 - Fix test_pointerlock-api.html. r=Enn, a=test-only
💩💩 backed out by ec5427a8e674 💩 💩
authorMartijn Wargers <mwargers@mozilla.com>
Mon, 18 Aug 2014 18:21:08 +0200
changeset 208341 90b5e0b87666
parent 208340 da78e23cbe3d
child 208342 7c7145e95cb5
push id3831
push userryanvm@gmail.com
push date2014-08-19 22:04 +0000
treeherdermozilla-beta@7c7145e95cb5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEnn, test-only
bugs1051783
milestone32.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);