mirror of https://github.com/gorhill/uBlock.git
commenting out debugging code
This commit is contained in:
parent
d9da7c996b
commit
2ec0161471
|
@ -86,7 +86,7 @@ vAPI.messaging = {
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
}
|
}
|
||||||
if ( this.port === null ) {
|
if ( this.port === null ) {
|
||||||
console.error("uBlock> Can't patch things up. It's over.");
|
//console.error("uBlock> Can't patch things up. It's over.");
|
||||||
vAPI.shutdown.exec();
|
vAPI.shutdown.exec();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -207,7 +207,7 @@ MessagingChannel.prototype.sendTo = function(message, toTabId, toChannel, callba
|
||||||
// performance become a risk -- especially for long-lived, dynamic
|
// performance become a risk -- especially for long-lived, dynamic
|
||||||
// pages. Guard against this.
|
// pages. Guard against this.
|
||||||
if ( messaging.pendingCount > 25 ) {
|
if ( messaging.pendingCount > 25 ) {
|
||||||
console.error('uBlock> Sigh. Main process is sulking. Will try to patch things up.');
|
//console.error('uBlock> Sigh. Main process is sulking. Will try to patch things up.');
|
||||||
messaging.close();
|
messaging.close();
|
||||||
}
|
}
|
||||||
if ( messaging.port === null ) {
|
if ( messaging.port === null ) {
|
||||||
|
|
|
@ -259,7 +259,7 @@ MessagingChannel.prototype.sendTo = function(message, toTabId, toChannel, callba
|
||||||
// performance become a risk -- especially for long-lived, dynamic
|
// performance become a risk -- especially for long-lived, dynamic
|
||||||
// pages. Guard against this.
|
// pages. Guard against this.
|
||||||
if ( messaging.pendingCount > 25 ) {
|
if ( messaging.pendingCount > 25 ) {
|
||||||
console.error('uBlock> Sigh. Main process is sulking. Will try to patch things up.');
|
//console.error('uBlock> Sigh. Main process is sulking. Will try to patch things up.');
|
||||||
messaging.close();
|
messaging.close();
|
||||||
}
|
}
|
||||||
messaging.connect();
|
messaging.connect();
|
||||||
|
|
Loading…
Reference in New Issue