diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 11:58:25 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-17 11:58:25 +0000 |
commit | 394a1bbb2f183e42393eab7e10cc9089bdd94f69 (patch) | |
tree | 8ec05ddd42a32d2619585f06a698f6d74e0f73b2 /remoting/client | |
parent | f7c999e256ab93b612127300d0e21af7b70500e2 (diff) | |
download | chromium_src-394a1bbb2f183e42393eab7e10cc9089bdd94f69.zip chromium_src-394a1bbb2f183e42393eab7e10cc9089bdd94f69.tar.gz chromium_src-394a1bbb2f183e42393eab7e10cc9089bdd94f69.tar.bz2 |
Add debug message to chromoting extension
Debug message to help tackle the problem of chromoting tab going blank.
TBR=ajwong
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6539012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r-- | remoting/client/extension/chromoting_tab.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/client/extension/chromoting_tab.js b/remoting/client/extension/chromoting_tab.js index aa640ad..44c2532 100644 --- a/remoting/client/extension/chromoting_tab.js +++ b/remoting/client/extension/chromoting_tab.js @@ -50,10 +50,15 @@ function requestListener(request, sender, sendResponse) { plugin.connectionInfoUpdate = pluginCallback; plugin.loginChallenge = pluginLoginChallenge; + console.log('connect request received: ' + chromoting.hostname + ' by ' + + chromoting.username); + // TODO(garykac): Clean exit if |connect| isn't a funtion. if (typeof plugin.connect === 'function') { plugin.connect(request.username, request.hostJid, request.xmppAuth); + } else { + console.log('ERROR: chromoting plugin not loaded'); } document.getElementById('title').innerText = request.hostName; |