Bug 1014473 - Fix AsyncShutdown warning. r=froydnj

This commit is contained in:
David Rajchenbach-Teller 2014-05-22 02:53:00 -04:00
parent 9bdf969109
commit 050a7e0346

View File

@ -631,7 +631,7 @@ Barrier.prototype = Object.freeze({
let timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
timer.initWithCallback(function() {
let msg = "At least one completion condition is taking too long to complete." +
" Conditions: " + safeGetState(this.state) +
" Conditions: " + JSON.stringify(this.state) +
" Barrier: " + topic;
warn(msg);
}.bind(this), warnAfterMS, Ci.nsITimer.TYPE_ONE_SHOT);