Bug 1488934. Handle unpacked to packed migration. r=kmag
authorMichael Kaply <mozilla@kaply.com>
Tue, 11 Sep 2018 18:55:58 +0000
changeset 435719 34aa201bb6a8
parent 435718 45e629e8498c
child 435720 15d6b91eae27
push id69116
push usermozilla@kaply.com
push dateTue, 11 Sep 2018 20:05:18 +0000
treeherderautoland@34aa201bb6a8 [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();
         }