mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
test for bug 453291
This commit is contained in:
parent
db52f1bffd
commit
abaaabf8ba
@ -3,7 +3,7 @@ function test() {
|
||||
gBrowser.addTab();
|
||||
|
||||
var isLinux = navigator.platform.indexOf("Linux") == 0;
|
||||
for (let i = 1; i <= 9; i++) {
|
||||
for (let i = 9; i >= 1; i--) {
|
||||
EventUtils.synthesizeKey(i.toString(), { altKey: isLinux, accelKey: !isLinux });
|
||||
|
||||
is(gBrowser.tabContainer.selectedIndex, (i == 9 ? gBrowser.mTabs.length : i) - 1,
|
||||
|
Loading…
Reference in New Issue
Block a user