Commit f2fc3c17 authored by garykac@chromium.org's avatar garykac@chromium.org

Remove extra newline in log lines from plugin.

Currently log lines from the plugin get 2 newlines, which wastes space in
the console output. This strips off the extra newline.

Review URL: https://codereview.chromium.org/308183004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274312 0039d316-1c4b-4281-b951-d872f2087c98
parent f4085374
......@@ -529,7 +529,7 @@ remoting.ClientSession.prototype.onPluginInitialized_ = function(initialized) {
this.plugin_.onOutgoingIqHandler = this.sendIq_.bind(this);
/** @param {string} msg The message to log. */
this.plugin_.onDebugMessageHandler = function(msg) {
console.log('plugin: ' + msg);
console.log('plugin: ' + msg.trimRight());
};
this.plugin_.onConnectionStatusUpdateHandler =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment