mirror of https://github.com/gorhill/uBlock.git
fix #2030: brain fart bug
This commit is contained in:
parent
0c4137937d
commit
56176c8eb7
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock Origin",
|
||||
"version": "1.9.11.100",
|
||||
"version": "1.9.11.101",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
|
|
@ -422,10 +422,6 @@ var contentObserver = {
|
|||
sandbox.removeMessageListener =
|
||||
sandbox.sendAsyncMessage = function(){};
|
||||
sandbox.vAPI = {};
|
||||
if ( messager && messager.ublock0LocationChangeListener ) {
|
||||
messager.ublock0LocationChangeListener.stop();
|
||||
delete messager.ublock0LocationChangeListener;
|
||||
}
|
||||
messager = null;
|
||||
};
|
||||
}
|
||||
|
@ -596,7 +592,6 @@ var LocationChangeListener = function(docShell, webProgress) {
|
|||
return;
|
||||
}
|
||||
this.messageManager = mm;
|
||||
this.webProgress = webProgress;
|
||||
webProgress.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_LOCATION);
|
||||
};
|
||||
|
||||
|
@ -617,13 +612,6 @@ LocationChangeListener.prototype.onLocationChange = function(webProgress, reques
|
|||
});
|
||||
};
|
||||
|
||||
LocationChangeListener.prototype.stop = function() {
|
||||
if ( this.webProgress ) {
|
||||
this.webProgress.removeProgressListener(this);
|
||||
}
|
||||
this.messageManager = this.webProgress = null;
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
contentObserver.register();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 2,
|
||||
|
||||
"name": "uBlock Origin",
|
||||
"version": "1.9.11.100",
|
||||
"version": "1.9.11.101",
|
||||
|
||||
"default_locale": "en",
|
||||
"description": "__MSG_extShortDesc__",
|
||||
|
|
Loading…
Reference in New Issue