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:
parent
4a648eb21f
commit
a453accc78
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user