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 209425 90b5e0b87666c9b30e230c377d97569390a22177
parent 209424 da78e23cbe3dfe125143adacc6191a16160690f7
child 209426 7c7145e95cb516bde500a647d07ab48057cea44a
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [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);