Fixed a couple of syntax errors that were preventing weave from starting
authorjono@jono-gibbon-laptop
Tue, 01 Apr 2008 16:36:08 -0700
changeset 44411 9186b02a5cfb087758e3862ca2356d107b79b089
parent 44410 3f4d2284b0f180b4c9c575a22c34548e27536a0b
child 44412 29bae97893134440f62b95cdcc77228e54b83da3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Fixed a couple of syntax errors that were preventing weave from starting
services/sync/modules/stores.js
--- a/services/sync/modules/stores.js
+++ b/services/sync/modules/stores.js
@@ -70,17 +70,18 @@ Store.prototype = {
     return this.__json;
   },
 
   _init: function Store__init() {
     this._log = Log4Moz.Service.getLogger("Service." + this._logName);
   },
 
   applyCommands: function Store_applyCommands(commandList) {
-    let self = yield, timer, listener;
+    let self = yield;
+    let timer, listener;
 
     if (this._yieldDuringApply) {
       listener = new Utils.EventListener(self.cb);
       timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
     }
 
     for (var i = 0; i < commandList.length; i++) {
       if (this._yieldDuringApply) {
@@ -844,16 +845,17 @@ CookieStore.prototype = {
 				 expiry: cookie.expiry,
 				 isHttpOnly: cookie.isHttpOnly }
 
 		// http://developer.mozilla.org/en/docs/nsICookie
 		// Note: not syncing "expires", "status", or "policy"
 		// since they're deprecated.
 
 	    }
+	}
     return items;
   },
 
   wipe: function CookieStore_wipe() {
 	// Remove everything from the store.  Return nothing.
         // TODO are the semantics of this just wiping out an internal
         // buffer, or am I supposed to wipe out all cookies from
         // the browser itself for reals?