diff --git a/browser/base/content/test/general/browser.ini b/browser/base/content/test/general/browser.ini index f8a2ac8d75bc..9afc6a2cb476 100644 --- a/browser/base/content/test/general/browser.ini +++ b/browser/base/content/test/general/browser.ini @@ -413,7 +413,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 # Bug 1093373 - relies on browser.sessionHistory +skip-if = e10s || true # Bug 1093373, Bug 1104755 [browser_tab_drag_drop_perwindow.js] skip-if = buildapp == 'mulet' [browser_tab_dragdrop.js] diff --git a/browser/base/content/test/general/browser_action_keyword.js b/browser/base/content/test/general/browser_action_keyword.js index 06dd9ccd9f4b..6aee5b3c4cfd 100644 --- a/browser/base/content/test/general/browser_action_keyword.js +++ b/browser/base/content/test/general/browser_action_keyword.js @@ -16,8 +16,10 @@ function* promise_first_result(inputText) { add_task(function*() { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } let tab = gBrowser.selectedTab = gBrowser.addTab("about:mozilla"); let tabs = [tab]; diff --git a/browser/base/content/test/general/browser_action_searchengine.js b/browser/base/content/test/general/browser_action_searchengine.js index eece0c60a57e..3582b500e7b7 100644 --- a/browser/base/content/test/general/browser_action_searchengine.js +++ b/browser/base/content/test/general/browser_action_searchengine.js @@ -18,8 +18,10 @@ function* promise_first_result(inputText) { add_task(function* () { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } Services.search.addEngineWithDetails("MozSearch", "", "", "", "GET", "http://example.com/?q={searchTerms}"); diff --git a/browser/base/content/test/general/browser_autocomplete_a11y_label.js b/browser/base/content/test/general/browser_autocomplete_a11y_label.js index df30a26c77ea..b84500cad135 100644 --- a/browser/base/content/test/general/browser_autocomplete_a11y_label.js +++ b/browser/base/content/test/general/browser_autocomplete_a11y_label.js @@ -15,8 +15,10 @@ function* check_a11y_label(inputText, expectedLabel) { add_task(function*() { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } let tab = gBrowser.addTab("about:about"); yield promiseTabLoaded(tab); diff --git a/browser/base/content/test/general/browser_autocomplete_autoselect.js b/browser/base/content/test/general/browser_autocomplete_autoselect.js index ea7289576f58..9d767acbd70c 100644 --- a/browser/base/content/test/general/browser_autocomplete_autoselect.js +++ b/browser/base/content/test/general/browser_autocomplete_autoselect.js @@ -16,6 +16,12 @@ function is_selected(index) { } add_task(function*() { + // This test is only relevant if UnifiedComplete is enabled. + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); + return; + } + registerCleanupFunction(promiseClearHistory); let visits = []; diff --git a/browser/base/content/test/general/browser_autocomplete_no_title.js b/browser/base/content/test/general/browser_autocomplete_no_title.js index 51f936655167..3af3f6623cca 100644 --- a/browser/base/content/test/general/browser_autocomplete_no_title.js +++ b/browser/base/content/test/general/browser_autocomplete_no_title.js @@ -14,8 +14,10 @@ function* check_title(inputText, expectedTitle) { add_task(function*() { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } let uri = NetUtil.newURI("http://bug1060642.example.com/beards/are/pretty/great"); yield PlacesTestUtils.addVisits([{uri: uri, title: ""}]); diff --git a/browser/base/content/test/general/browser_bug1003461-switchtab-override.js b/browser/base/content/test/general/browser_bug1003461-switchtab-override.js index 1a71a028d5e8..8b1b68b90cd2 100644 --- a/browser/base/content/test/general/browser_bug1003461-switchtab-override.js +++ b/browser/base/content/test/general/browser_bug1003461-switchtab-override.js @@ -4,8 +4,10 @@ add_task(function* test_switchtab_override() { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } let testURL = "http://example.org/browser/browser/base/content/test/general/dummy_page.html"; diff --git a/browser/base/content/test/general/browser_bug1070778.js b/browser/base/content/test/general/browser_bug1070778.js index 81b6d2c0b056..a0ec32f20bd6 100644 --- a/browser/base/content/test/general/browser_bug1070778.js +++ b/browser/base/content/test/general/browser_bug1070778.js @@ -14,8 +14,10 @@ function is_selected(index) { add_task(function*() { // This test is only relevant if UnifiedComplete is enabled. - if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + if (!Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) { + todo(false, "Stop supporting old autocomplete components."); return; + } registerCleanupFunction(() => { PlacesUtils.bookmarks.removeFolderChildren(PlacesUtils.unfiledBookmarksFolderId); diff --git a/browser/base/content/test/general/browser_urlbarAutoFillTrimURLs.js b/browser/base/content/test/general/browser_urlbarAutoFillTrimURLs.js index 0d6208de3e03..88c74cac129e 100644 --- a/browser/base/content/test/general/browser_urlbarAutoFillTrimURLs.js +++ b/browser/base/content/test/general/browser_urlbarAutoFillTrimURLs.js @@ -54,7 +54,10 @@ function continue_test() { test_autoFill("http://au", "http://autofilltrimurl.com/", function () { test_autoFill("http://www.autofilltrimurl.com", "http://www.autofilltrimurl.com/", function () { // Now ensure selecting from the popup correctly trims. - is(gURLBar.controller.matchCount, 2, "Found the expected number of matches"); + if (Services.prefs.getBoolPref("browser.urlbar.unifiedcomplete")) + is(gURLBar.controller.matchCount, 2, "Found the expected number of matches"); + else + is(gURLBar.controller.matchCount, 1, "Found the expected number of matches"); EventUtils.synthesizeKey("VK_DOWN", {}); is(gURLBar.textValue, "www.autofilltrimurl.com/whatever", "trim was applied correctly"); gURLBar.closePopup();