From 09f2165a740674c8a587d71df8c6ebc00a9aa33d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 Oct 2021 19:40:49 +0200 Subject: [PATCH] Use tab_domain when comparing tabs issue10441 review381241002 (grafted from 287382c0d95e03d280b2353b7d098b634ead68f1) --HG-- branch : 6.0 --- src/tab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tab.js b/src/tab.js index 7aa83208ae..8b9b5f7aca 100644 --- a/src/tab.js +++ b/src/tab.js @@ -754,7 +754,9 @@ JSON.stringify(attributes.context)) && (compare( this.attributes.search_value || [], - attributes.search_value || [])) + attributes.search_value || [])) && + (JSON.stringify(this.screen.attributes.tab_domain) === + JSON.stringify(attributes.tab_domain)) ); }, _close_allowed: function() {