зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
a2f2373aa2
Коммит
c70574caeb
|
@ -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);
|
||||
});
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче