From 5be2553edc6762002aa6891899fe4a46adc15fe5 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Tue, 6 Jan 2004 09:47:07 +0000 Subject: [PATCH] Bug 225854 fix JS error handling anonymous link elements (e.g. from XMLPrettyPrint.xml) r=hj sr=alecf --- .../resources/content/bindings/tabbrowser.xml | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/xpfe/global/resources/content/bindings/tabbrowser.xml b/xpfe/global/resources/content/bindings/tabbrowser.xml index d05ee73f668..c04d7865b02 100644 --- a/xpfe/global/resources/content/bindings/tabbrowser.xml +++ b/xpfe/global/resources/content/bindings/tabbrowser.xml @@ -602,15 +602,14 @@ s. - this.mPanelContainer.addEventListener("DOMLinkAdded", this.onLinkAdded, false); } this.mProgressListeners.push(aListener); @@ -1431,7 +1426,6 @@ this.mTabListeners[i] = null; this.mPanelContainer.childNodes[i].removeEventListener("DOMTitleChanged", this.onTitleChanged, false); } - this.mPanelContainer.removeEventListener("DOMLinkAdded", this.onLinkAdded, false); ]]> @@ -1439,6 +1433,8 @@ + +