Bug 1312021 - ensure the addonsreconciler always has the isSyncable attribute. r=tcsc
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 25 Oct 2016 17:53:44 +1100
changeset 319815 ed22ec2c58924267a99e6d81658c4dc387f19fc3
parent 319814 54ad8aaf59c75e5f5b45ba8e95c1c470a06d9b38
child 319816 ab7970b0eba3e2f13d08814438a0c87dac5a8e8a
child 319876 a1ea2703d9e81330c261846575016399e01ba893
push id20748
push userphilringnalda@gmail.com
push dateFri, 28 Oct 2016 03:39:55 +0000
treeherderfx-team@715360440695 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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;
       }