Merge pull request #2862 from mozilla/newTabSupport

Add support for new tab in the re-open feature
This commit is contained in:
Danny Colin
2026-03-03 17:21:48 -05:00
committed by GitHub
+6 -1
View File
@@ -88,8 +88,13 @@ const backgroundLogic = {
if (currentTab.length > 0) {
const tab = currentTab[0];
let url = tab.url;
if (this.NEW_TAB_PAGES.has(url) || !this.isPermissibleURL(url)) {
url = undefined;
}
browser.tabs.create({
url: tab.url,
url,
cookieStoreId,
index: tab.index + 1,
active: tab.active