Bug 1488934. Handle unpacked to packed migration. r=kmag, a=jcristau
authorMichael Kaply <mozilla@kaply.com>
Tue, 11 Sep 2018 18:55:58 +0000
changeset 481134 7a5c178dbb05
parent 481133 14803cf456f3
child 481135 d835a5290ae3
push id1785
push userjcristau@mozilla.com
push dateWed, 19 Sep 2018 13:08:28 +0000
treeherdermozilla-release@003695979048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag, jcristau
bugs1488934
milestone62.0.2
Bug 1488934. Handle unpacked to packed migration. r=kmag, a=jcristau 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();
         }