Bug 1051783 - Fix test_pointerlock-api.html. r=Enn
authorMartijn Wargers <mwargers@mozilla.com>
Mon, 18 Aug 2014 18:21:08 +0200
changeset 200192 dfed4f56ae9a891b6e9eec7ec3b59715c10a76e7
parent 200191 ad6931ea53e40adb479c4281b6545b5fa19090fc
child 200193 a3761879135a5eadd5f80c627d310c00d080be7a
push id47827
push userryanvm@gmail.com
push dateMon, 18 Aug 2014 21:18:08 +0000
treeherdermozilla-inbound@dfed4f56ae9a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEnn
bugs1051783
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1051783 - Fix test_pointerlock-api.html. r=Enn
dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
--- a/dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
+++ b/dom/tests/mochitest/pointerlock/file_retargetMouseEvents.html
@@ -138,17 +138,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);
         SimpleTest.executeSoon(function () {
-          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);