From 02ef48ae18ad6638d193db6d3e786e3e767961c8 Mon Sep 17 00:00:00 2001 From: "Olli.Pettay@helsinki.fi" Date: Tue, 21 Aug 2007 22:01:16 -0700 Subject: [PATCH] Bug 335586, r+sr=mconnor,neil --- browser/base/content/tabbrowser.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index d7ed6c23899..bfd225810ba 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -956,7 +956,7 @@ this.mTabbedMode = true; // Welcome to multi-tabbed mode. // Get the first tab all hooked up with a title listener and popup blocking listener. - this.mCurrentBrowser.addEventListener("DOMTitleChanged", this.onTitleChanged, false); + this.mCurrentBrowser.addEventListener("DOMTitleChanged", this.onTitleChanged, true); var throbberElement = document.getElementById("navigator-throbber"); if (throbberElement && throbberElement.hasAttribute("busy")) { @@ -1128,7 +1128,7 @@ b.setAttribute("flex", "1"); this.mPanelContainer.appendChild(notificationbox); - b.addEventListener("DOMTitleChanged", this.onTitleChanged, false); + b.addEventListener("DOMTitleChanged", this.onTitleChanged, true); if (this.mStrip.collapsed) this.setStripVisibilityTo(true); @@ -1314,7 +1314,7 @@ this.mTabListeners.splice(index, 1); // Remove our title change and blocking listeners - oldBrowser.removeEventListener("DOMTitleChanged", this.onTitleChanged, false); + oldBrowser.removeEventListener("DOMTitleChanged", this.onTitleChanged, true); // We are no longer the primary content area. oldBrowser.setAttribute("type", "content-targetable"); @@ -2179,7 +2179,7 @@ this.mTabFilters[i].removeProgressListener(this.mTabListeners[i]); this.mTabFilters[i] = null; this.mTabListeners[i] = null; - this.getBrowserAtIndex(i).removeEventListener("DOMTitleChanged", this.onTitleChanged, false); + this.getBrowserAtIndex(i).removeEventListener("DOMTitleChanged", this.onTitleChanged, true); } document.removeEventListener("keypress", this._keyEventHandler, false); ]]> @@ -2187,9 +2187,9 @@ - + - + - + - +