зеркало из https://github.com/mozilla/gecko-dev.git
Bug 680647 - undefined variables in some tests cause leaks; r=dao
This commit is contained in:
Родитель
5e179461b3
Коммит
3b196c4e8a
|
@ -22,7 +22,7 @@ function setupOne(win) {
|
||||||
afterAllTabsLoaded(function () setupTwo(win), win);
|
afterAllTabsLoaded(function () setupTwo(win), win);
|
||||||
}
|
}
|
||||||
|
|
||||||
let restoreWin;
|
let restoredWin;
|
||||||
|
|
||||||
function setupTwo(win) {
|
function setupTwo(win) {
|
||||||
let contentWindow = win.TabView.getContentWindow();
|
let contentWindow = win.TabView.getContentWindow();
|
||||||
|
|
|
@ -15,7 +15,7 @@ function loadTabs (win) {
|
||||||
function testTopOfStack(win) {
|
function testTopOfStack(win) {
|
||||||
registerCleanupFunction(function () { win.close(); });
|
registerCleanupFunction(function () { win.close(); });
|
||||||
let cw = win.TabView.getContentWindow();
|
let cw = win.TabView.getContentWindow();
|
||||||
groupItem = cw.GroupItems.getActiveGroupItem();
|
let groupItem = cw.GroupItems.getActiveGroupItem();
|
||||||
ok(!groupItem.isStacked(), 'groupItem is not stacked');
|
ok(!groupItem.isStacked(), 'groupItem is not stacked');
|
||||||
groupItem.setSize(150, 150);
|
groupItem.setSize(150, 150);
|
||||||
groupItem.setUserSize();
|
groupItem.setUserSize();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче