Bug 1312021 - ensure the addonsreconciler always has the isSyncable attribute. r?tcsc draft
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 25 Oct 2016 17:53:44 +1100
changeset 430097 3d04b155f88519992b6f68229815301904a8001c
parent 428972 b6571211c807e209e550833eb47dfc08a4c6ae53
child 535123 14f0b90423e9ab6b8e215252d2ef4d8210a6a725
push id33737
push userbmo:markh@mozilla.com
push dateThu, 27 Oct 2016 05:59:41 +0000
reviewerstcsc
bugs1312021
milestone52.0a1
Bug 1312021 - ensure the addonsreconciler always has the isSyncable attribute. r?tcsc MozReview-Commit-ID: AlYZCCrEvLV
services/sync/modules/addonsreconciler.js
--- a/services/sync/modules/addonsreconciler.js
+++ b/services/sync/modules/addonsreconciler.js
@@ -440,16 +440,17 @@ AddonsReconciler.prototype = {
       this._addons[id] = record;
       this._log.debug("Adding change because add-on not present locally: " +
                       id);
       this._addChange(now, CHANGE_INSTALLED, record);
       return;
     }
 
     let record = this._addons[id];
+    record.isSyncable = addon.isSyncable;
 
     if (!record.installed) {
       // It is possible the record is marked as uninstalled because an
       // uninstall is pending.
       if (!(addon.pendingOperations & AddonManager.PENDING_UNINSTALL)) {
         record.installed = true;
         record.modified = now;
       }