issue #2823: Removing some log outputs in transport.js.

This commit is contained in:
James Chen 2013-10-09 13:57:18 +08:00
parent 7328ae89a5
commit 6b455463fa
1 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@ DebuggerTransport.prototype = {
// TODO (bug 709088): remove pretty printing when the protocol is done. // TODO (bug 709088): remove pretty printing when the protocol is done.
let data = JSON.stringify(aPacket, null, 2); let data = JSON.stringify(aPacket, null, 2);
// data = this._converter.ConvertFromUnicode(data); // data = this._converter.ConvertFromUnicode(data);
log("data1 len: "+data.length);
let data_for_len = utf16to8(data); let data_for_len = utf16to8(data);
log("data2 len: "+data_for_len.length);
this._outgoing = data_for_len.length + ':' + data; this._outgoing = data_for_len.length + ':' + data;
log("_outgoing len: "+this._outgoing.length);
this._flushOutgoing(); this._flushOutgoing();
}, },