mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-28 00:07:28 +00:00
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:
parent
ad69b8103e
commit
8736741c0b
@ -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) {
|
||||
|
@ -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);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user