This commit is contained in:
Piro / SHIMODA Hiroshi 2011-06-14 02:04:37 +09:00
parent 650f2b4d93
commit de11611005

View File

@ -415,14 +415,7 @@ TreeStyleTabWindow.prototype = {
var w = this.window; var w = this.window;
w.removeEventListener('load', this, false); w.removeEventListener('load', this, false);
/** w.addEventListener('unload', this, false);
* We should register event handler with delay, to do destruction
* process later than other addons.
*/
var self = this;
this.Deferred.next(function() {
w.addEventListener('unload', self, false);
});
if ( if (
w.location.href.indexOf('chrome://browser/content/browser.xul') != 0 || w.location.href.indexOf('chrome://browser/content/browser.xul') != 0 ||