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 319814 ed22ec2c58924267a99e6d81658c4dc387f19fc3
parent 319813 54ad8aaf59c75e5f5b45ba8e95c1c470a06d9b38
child 319815 ab7970b0eba3e2f13d08814438a0c87dac5a8e8a
child 320043 a1ea2703d9e81330c261846575016399e01ba893
push id30879
push userphilringnalda@gmail.com
push dateFri, 28 Oct 2016 02:18:50 +0000
treeherdermozilla-central@ab7970b0eba3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcsc
bugs1312021
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
       }