Bug 1488934. Handle unpacked to packed migration. r=kmag
authorMichael Kaply <mozilla@kaply.com>
Tue, 11 Sep 2018 18:55:58 +0000
changeset 435803 34aa201bb6a8
parent 435802 45e629e8498c
child 435804 15d6b91eae27
push id34619
push userbtara@mozilla.com
push dateWed, 12 Sep 2018 03:11:51 +0000
treeherdermozilla-central@23860890d959 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1488934
milestone64.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 1488934. Handle unpacked to packed migration. r=kmag 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();
         }