Commit 6068d860 authored by Marian-Vasile Laza's avatar Marian-Vasile Laza
Browse files

Backed out changeset 41171ae56f5e (bug 1692749) for causing bc failures on...

Backed out changeset 41171ae56f5e (bug 1692749) for causing bc failures on browser_searchMode_sessionStore.js. CLOSED TREE
parent b2ae79bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -122,7 +122,7 @@ add_task(async function testDuplicateTabLazily() {


    let tab = tabTracker.getTab(tabId);
    let tab = tabTracker.getTab(tabId);
    // This is a bit of a hack to load a tab in the background.
    // This is a bit of a hack to load a tab in the background.
    let newTab = gBrowser.duplicateTab(tab, true, { skipLoad: true });
    let newTab = gBrowser.duplicateTab(tab, true);


    BrowserTestUtils.waitForEvent(newTab, "SSTabRestored", () => true).then(
    BrowserTestUtils.waitForEvent(newTab, "SSTabRestored", () => true).then(
      () => {
      () => {
+0 −1
Original line number Original line Diff line number Diff line
@@ -2970,7 +2970,6 @@ var SessionStoreInternal = {
      ...(aTab == aWindow.gBrowser.selectedTab
      ...(aTab == aWindow.gBrowser.selectedTab
        ? { relatedToCurrent: true, ownerTab: aTab }
        ? { relatedToCurrent: true, ownerTab: aTab }
        : {}),
        : {}),
      skipLoad: true,
    };
    };
    let newTab = aWindow.gBrowser.addTrustedTab(null, tabOptions);
    let newTab = aWindow.gBrowser.addTrustedTab(null, tabOptions);