From b0e4681b5fde725f4b5cc35126c0ddbf83f3a5fd Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Tue, 15 Apr 2025 22:25:06 +0200 Subject: [PATCH] fix: closes #7453 - Fixed pinning a tab with invalid HOST or about:blank creating an infinite loop of reseting its state, r=tabs --- src/zen/tabs/ZenPinnedTabManager.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zen/tabs/ZenPinnedTabManager.mjs b/src/zen/tabs/ZenPinnedTabManager.mjs index 61bb17c1a..667cc6463 100644 --- a/src/zen/tabs/ZenPinnedTabManager.mjs +++ b/src/zen/tabs/ZenPinnedTabManager.mjs @@ -988,7 +988,7 @@ if (!pin) { return; } - if (pin.url === 'about:blank') { + if (pin.url === 'about:blank' && tab.linkedBrowser.currentURI.spec !== 'about:blank') { await this.replacePinnedUrlWithCurrent(tab); } }