Backout revision 5c76c23df424 for bad commit message.

This commit is contained in:
Dave Camp 2013-06-15 10:21:50 -07:00
Родитель b50d21be3d
Коммит 465d00dbcd
1 изменённых файлов: 7 добавлений и 11 удалений

Просмотреть файл

@ -219,17 +219,13 @@ LocalDebuggerTransport.prototype = {
}
this._deepFreeze(aPacket);
let other = this.other;
if (other) {
Services.tm.currentThread.dispatch(makeInfallible(function() {
// Avoid the cost of JSON.stringify() when logging is disabled.
if (wantLogging) {
dumpn("Received packet " + serial + ": " + JSON.stringify(aPacket, null, 2));
}
if (other.hooks) {
other.hooks.onPacket(aPacket);
}
}, "LocalDebuggerTransport instance's this.other.hooks.onPacket"), 0);
}
Services.tm.currentThread.dispatch(makeInfallible(function() {
// Avoid the cost of JSON.stringify() when logging is disabled.
if (wantLogging) {
dumpn("Received packet " + serial + ": " + JSON.stringify(aPacket, null, 2));
}
other.hooks.onPacket(aPacket);
}, "LocalDebuggerTransport instance's this.other.hooks.onPacket"), 0);
},
/**