diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 7699d364ad21..3c4ebcde4d84 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -565,6 +565,8 @@ this.mTab.removeAttribute("busy"); this.mTab.removeAttribute("progress"); + if (!this.mTab.selected) + this.mTab.setAttribute("unread", "true"); var location = aRequest.QueryInterface(nsIChannel).URI; @@ -871,6 +873,7 @@ (window.windowState != window.STATE_MINIMIZED); this.mCurrentBrowser = newBrowser; this.mCurrentTab = this.selectedTab; + this.mCurrentTab.removeAttribute("unread"); this.showTab(this.mCurrentTab); if (updatePageReport)