зеркало из https://github.com/mozilla/gecko-dev.git
Bug 864428 - Don't call hideContextUI in startup and tear down test helpers as it can cause random test timeouts. r=bbondy
This commit is contained in:
Родитель
3e3059d961
Коммит
4f737808a2
|
@ -25,7 +25,6 @@ function setUpAndTearDown() {
|
|||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
yield hideContextUI();
|
||||
}
|
||||
|
||||
gTests.push({
|
||||
|
@ -40,6 +39,8 @@ gTests.push({
|
|||
return !StartUI.isStartPageVisible;
|
||||
}, 10000, 100);
|
||||
|
||||
yield hideContextUI();
|
||||
|
||||
gWindow = Browser.selectedTab.browser.contentWindow;
|
||||
InputSourceHelper.isPrecise = false;
|
||||
},
|
||||
|
|
|
@ -25,7 +25,6 @@ function setUpAndTearDown() {
|
|||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
yield hideContextUI();
|
||||
}
|
||||
|
||||
gTests.push({
|
||||
|
@ -40,6 +39,8 @@ gTests.push({
|
|||
return !StartUI.isStartPageVisible;
|
||||
}, 10000, 100);
|
||||
|
||||
yield hideContextUI();
|
||||
|
||||
gWindow = Browser.selectedTab.browser.contentWindow;
|
||||
gFrame = gWindow.document.getElementById("frame1");
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ function setUpAndTearDown() {
|
|||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
yield hideContextUI();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -46,6 +45,8 @@ gTests.push({
|
|||
return !StartUI.isStartPageVisible;
|
||||
}, 10000, 100);
|
||||
|
||||
yield hideContextUI();
|
||||
|
||||
gWindow = Browser.selectedTab.browser.contentWindow;
|
||||
gInput = gWindow.document.getElementById("a");
|
||||
InputSourceHelper.isPrecise = false;
|
||||
|
|
|
@ -25,7 +25,6 @@ function setUpAndTearDown() {
|
|||
yield waitForCondition(function () {
|
||||
return !SelectionHelperUI.isSelectionUIVisible;
|
||||
}, kCommonWaitMs, kCommonPollMs);
|
||||
yield hideContextUI();
|
||||
}
|
||||
|
||||
gTests.push({
|
||||
|
@ -40,6 +39,8 @@ gTests.push({
|
|||
return !StartUI.isStartPageVisible;
|
||||
}, 10000, 100);
|
||||
|
||||
yield hideContextUI();
|
||||
|
||||
gWindow = Browser.selectedTab.browser.contentWindow;
|
||||
InputSourceHelper.isPrecise = false;
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче