b=386534. r=gavin. removeEventListener needs 3 params

git-svn-id: svn://10.0.0.236/trunk@229429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark.finkle%gmail.com 2007-07-06 14:35:39 +00:00
parent 4a648eb21f
commit a453accc78

View File

@ -624,7 +624,7 @@ Window.prototype = {
_shutdown : function() {
for (var type in this._cleanup)
this._tabbrowser.removeEventListener(type, this._cleanup[type]);
this._tabbrowser.removeEventListener(type, this._cleanup[type], true);
this._cleanup = null;
this._window = null;
@ -727,7 +727,7 @@ BrowserTab.prototype = {
_shutdown : function() {
for (var type in this._cleanup)
this._browser.removeEventListener(type, this._cleanup[type]);
this._browser.removeEventListener(type, this._cleanup[type], true);
this._cleanup = null;
this._window = null;