Fixed a bug from r5a5113a0a405 that caused some syncing unit tests to fail.
authorAtul Varma <varmaa@toolness.com>
Mon, 30 Jun 2008 16:55:38 -0700
changeset 44846 1dffa440e5dde7591d3f833c26daac2eeae52aca
parent 44845 daf0258221d871eee58aac9d9cb56798f7d24575
child 44847 220fe9d0125e8e7a556618adb9da5906cfc52663
push id14033
push useredward.lee@engineering.uiuc.edu
push dateWed, 23 Jun 2010 22:21:35 +0000
treeherderautoland@227db4ad8cdf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Fixed a bug from r5a5113a0a405 that caused some syncing unit tests to fail.
services/sync/modules/async.js
--- a/services/sync/modules/async.js
+++ b/services/sync/modules/async.js
@@ -95,17 +95,17 @@ function AsyncException(asyncStack, exce
     get originalException() this._originalException,
 
     addAsyncFrame: function AsyncException_addAsyncFrame(frame) {
       this._asyncStack += ((this._asyncStack? "\n" : "") +
                            formatAsyncFrame(frame));
     },
 
     toString: function AsyncException_toString() {
-      return this._originalException;
+      return this._originalException.toString();
     }
   };
 }
 
 function Generator(thisArg, method, onComplete, args) {
   this._outstandingCbs = 0;
   this._log = Log4Moz.Service.getLogger("Async.Generator");
   this._log.level =