mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
test for bug 482801
This commit is contained in:
parent
da6dd3cda6
commit
491baea6c3
@ -44,6 +44,15 @@ function step5()
|
||||
// listener, and focuses the current tab if another tab previously had focus
|
||||
is(document.activeElement, tab2, "mouse on another tab while focused still activeElement");
|
||||
|
||||
content.focus();
|
||||
EventUtils.synthesizeMouse(tab2, 2, 2, {button: 1, type: "mousedown"});
|
||||
setTimeout(step6, 0);
|
||||
}
|
||||
|
||||
function step6()
|
||||
{
|
||||
isnot(document.activeElement, tab2, "tab not focused via middle click");
|
||||
|
||||
gBrowser.removeTab(tab1);
|
||||
gBrowser.removeTab(tab2);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user