Bug 1488934. Handle unpacked to packed migration. r=kmag a=pascalc
authorMichael Kaply <mozilla@kaply.com>
Tue, 11 Sep 2018 18:55:58 +0000
changeset 489814 8bc16d134d87
parent 489813 1ff507e18201
child 489815 c22ce5828890
push id9791
push userncsoregi@mozilla.com
push dateWed, 12 Sep 2018 16:24:53 +0000
treeherdermozilla-beta@8bc16d134d87 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag, pascalc
bugs1488934
milestone63.0
Bug 1488934. Handle unpacked to packed migration. r=kmag a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D5565
toolkit/mozapps/extensions/internal/XPIProvider.jsm
--- a/toolkit/mozapps/extensions/internal/XPIProvider.jsm
+++ b/toolkit/mozapps/extensions/internal/XPIProvider.jsm
@@ -536,16 +536,17 @@ class XPIState {
     }
 
     this.telemetryKey = this.getTelemetryKey();
 
     this.hasEmbeddedWebExtension = aDBAddon.hasEmbeddedWebExtension;
     this.dependencies = aDBAddon.dependencies;
     this.runInSafeMode = canRunInSafeMode(aDBAddon);
     this.signedState = aDBAddon.signedState;
+    this.file = aDBAddon._sourceBundle;
 
     if (aUpdated || mustGetMod) {
       this.getModTime(this.file);
       if (this.lastModifiedTime != aDBAddon.updateDate) {
         aDBAddon.updateDate = this.lastModifiedTime;
         if (XPIDatabase.initialized) {
           XPIDatabase.saveChanges();
         }