Bug 589078. Send synthesized click more inside the element so it doesn't miss. r=dbaron a=blocking 130078 which blocks beta5

This commit is contained in:
Timothy Nikkel 2010-08-21 19:55:55 -05:00
parent ad69b8103e
commit 8736741c0b
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ function test3() {
new TabOpenListener("about:addons", test4, prepareTest5);
EventUtils.synthesizeMouse(gTestBrowser.contentDocument.getElementById("test"),
0, 0, {}, gTestBrowser.contentWindow);
5, 5, {}, gTestBrowser.contentWindow);
}
function test4(tab, win) {

View File

@ -84,7 +84,7 @@ add_test(function() {
is(gManagerWindow.gViewController.currentViewId, "addons://updates/available", "Available Updates view should be the current view");
run_next_test();
}, true);
EventUtils.synthesizeMouse(gAvailableCategory, 0, 0, { }, gManagerWindow);
EventUtils.synthesizeMouse(gAvailableCategory, 2, 2, { }, gManagerWindow);
});