diff --git a/toolkit/content/widgets/tabbrowser.xml b/toolkit/content/widgets/tabbrowser.xml
index 8bf16b27133..e44c3bee67a 100644
--- a/toolkit/content/widgets/tabbrowser.xml
+++ b/toolkit/content/widgets/tabbrowser.xml
@@ -155,7 +155,7 @@
null
- null
+ new Array()
new Array()
@@ -940,12 +940,10 @@
}
// Remove all our progress listeners from the active browser's filter.
- if (this.mProgressListeners) {
- for (var i = 0; i < this.mProgressListeners.length; i++) {
- var p = this.mProgressListeners[i];
- if (p)
- filter.removeProgressListener(p);
- }
+ for (var i = 0; i < this.mProgressListeners.length; i++) {
+ var p = this.mProgressListeners[i];
+ if (p)
+ filter.removeProgressListener(p);
}
// Wire up a progress listener to our filter.
@@ -1314,18 +1312,6 @@
s.
- this.mPanelContainer.addEventListener("DOMLinkAdded", this.onLinkAdded, false);
- }
-
if (!this.mTabbedMode && this.mProgressListeners.length == 1) {
// If we are adding a 2nd progress listener, we need to enter tabbed mode
// because the browser status filter can only handle one progress listener.
@@ -1358,7 +1344,6 @@
s.
+ this.mPanelContainer.addEventListener("DOMLinkAdded", this.onLinkAdded, false);
]]>