1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 08:37:11 +02:00

commenting out debugging code

This commit is contained in:
gorhill 2015-07-12 19:33:12 -04:00
parent d9da7c996b
commit 2ec0161471
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ vAPI.messaging = {
} catch (ex) {
}
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();
return false;
}
@ -207,7 +207,7 @@ MessagingChannel.prototype.sendTo = function(message, toTabId, toChannel, callba
// performance become a risk -- especially for long-lived, dynamic
// pages. Guard against this.
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();
}
if ( messaging.port === null ) {

View File

@ -259,7 +259,7 @@ MessagingChannel.prototype.sendTo = function(message, toTabId, toChannel, callba
// performance become a risk -- especially for long-lived, dynamic
// pages. Guard against this.
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.connect();