Loading toolkit/mozapps/extensions/internal/XPIProvider.jsm +6 −2 Original line number Diff line number Diff line Loading @@ -480,7 +480,7 @@ class XPIState { // Builds prior to be 1512436 did not include the rootURI property. // If we're updating from such a build, add that property now. if (!("rootURI" in this) && this.file) { if (this.file) { this.rootURI = getURIForResourceInFile(this.file, "").spec; } Loading @@ -493,7 +493,10 @@ class XPIState { saved.currentModifiedTime != this.lastModifiedTime ) { this.lastModifiedTime = saved.currentModifiedTime; } else if (saved.currentModifiedTime === null) { } else if ( saved.currentModifiedTime === null && (!this.file || !this.file.exists()) ) { this.missing = true; } } Loading Loading @@ -1462,6 +1465,7 @@ var XPIStates = { if (shouldRestoreLocationData && oldState[loc.name]) { loc.restore(oldState[loc.name]); changed = changed || loc.path != oldState[loc.name].path; } changed = changed || loc.changed; Loading Loading
toolkit/mozapps/extensions/internal/XPIProvider.jsm +6 −2 Original line number Diff line number Diff line Loading @@ -480,7 +480,7 @@ class XPIState { // Builds prior to be 1512436 did not include the rootURI property. // If we're updating from such a build, add that property now. if (!("rootURI" in this) && this.file) { if (this.file) { this.rootURI = getURIForResourceInFile(this.file, "").spec; } Loading @@ -493,7 +493,10 @@ class XPIState { saved.currentModifiedTime != this.lastModifiedTime ) { this.lastModifiedTime = saved.currentModifiedTime; } else if (saved.currentModifiedTime === null) { } else if ( saved.currentModifiedTime === null && (!this.file || !this.file.exists()) ) { this.missing = true; } } Loading Loading @@ -1462,6 +1465,7 @@ var XPIStates = { if (shouldRestoreLocationData && oldState[loc.name]) { loc.restore(oldState[loc.name]); changed = changed || loc.path != oldState[loc.name].path; } changed = changed || loc.changed; Loading