gh-12142: Clear pending attribute on synced tabs (gh-13460)

Co-authored-by: mr. m <mr.m@tuta.com>
This commit is contained in:
Andre Nijman
2026-04-29 02:36:32 +08:00
committed by GitHub
parent bb14e5d66f
commit 709691225a

View File

@@ -1353,6 +1353,9 @@ class nsZenWindowSync {
_forZenEmptyTab: tab.hasAttribute("zen-empty-tab"),
});
newTab.id = tab.id;
if (!tab.hasAttribute("pending")) {
newTab.removeAttribute("pending");
}
this.#syncItemWithOriginal(
tab,
newTab,