From ebc9bb54d662fa5a2d7e4fb688154850934ad80d Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Wed, 10 Apr 2024 22:25:48 +0900 Subject: [PATCH] Apply "new tab command" tab behavior correctly (regression) #3527 --- webextensions/common/Tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webextensions/common/Tab.js b/webextensions/common/Tab.js index 49bbf0067..3885b6f9b 100644 --- a/webextensions/common/Tab.js +++ b/webextensions/common/Tab.js @@ -401,7 +401,7 @@ export default class Tab { // "Blank Page" is chosen as the new tab page. So we can detect the case // safely here. // (confirmed on Firefox 124) - if (isNewTabCommandTab(this.tab.url)) + if (isNewTabCommandTab(this.tab)) return true; // Firefox always opens a blank tab as the placeholder, when trying to