Bug 1104755 - Re-enable browser_tabMatchesInAwesomebar_perwindowpb.js r=mak

This commit is contained in:
Tim Taubert 2014-11-27 15:50:33 +01:00
parent b4deacddf4
commit ec51d56597
2 changed files with 5 additions and 4 deletions

View File

@ -415,7 +415,7 @@ skip-if = buildapp == 'mulet' || e10s
[browser_tabMatchesInAwesomebar.js]
skip-if = e10s # Bug 1093206 - need to re-enable tests relying on swapFrameLoaders et al for e10s (test calls gBrowser.swapBrowsersAndCloseOther)
[browser_tabMatchesInAwesomebar_perwindowpb.js]
skip-if = e10s || true # Bug 1093373, Bug 1104755
skip-if = e10s # Bug 1093373
[browser_tab_drag_drop_perwindow.js]
skip-if = buildapp == 'mulet'
[browser_tab_dragdrop.js]

View File

@ -80,7 +80,8 @@ function test() {
controller.startSearch(testURL);
// Wait for the Awesomebar popup to appear.
promisePopupShown(aDestWindow.gURLBar.popup).then(() => {
let popup = aDestWindow.gURLBar.popup;
promisePopupShown(popup).then(() => {
function searchIsComplete() {
return controller.searchStatus ==
Ci.nsIAutoCompleteController.STATUS_COMPLETE_MATCH;
@ -106,8 +107,8 @@ function test() {
}, true);
}
// Select the second match, if any.
if (controller.matchCount > 1) {
// Make sure the last match is selected.
while (popup.selectedIndex < controller.matchCount - 1) {
controller.handleKeyNavigation(KeyEvent.DOM_VK_DOWN);
}