diff options
author | gorhill <rhill@raymondhill.net> | 2015-07-12 19:33:12 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-07-12 19:33:12 -0400 |
commit | 2ec01614713a26583b8525edb0347f2da70e2bee (patch) | |
tree | 773fb99a3b9f64b4edfaec62cced6e529ba4d1b3 /platform | |
parent | d9da7c996baa6fdbab92f8937f0025f7ab8f3a45 (diff) | |
download | uBlock-2ec01614713a26583b8525edb0347f2da70e2bee.zip uBlock-2ec01614713a26583b8525edb0347f2da70e2bee.tar.gz uBlock-2ec01614713a26583b8525edb0347f2da70e2bee.tar.bz2 |
commenting out debugging code
Diffstat (limited to 'platform')
-rw-r--r-- | platform/chromium/vapi-client.js | 4 | ||||
-rw-r--r-- | platform/firefox/vapi-client.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index dc18ba6..eb0319e 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -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 ) { diff --git a/platform/firefox/vapi-client.js b/platform/firefox/vapi-client.js index 9ddae94..31c3f67 100644 --- a/platform/firefox/vapi-client.js +++ b/platform/firefox/vapi-client.js @@ -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(); |