Pier Angelo Vendrame pushed to branch mullvad-browser-152.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser Commits: 2dd9d803 by Pier Angelo Vendrame at 2026-06-10T15:24:25+02:00 fixup! BB 27604: Fix addon issues when moving the profile directory BB 44795: Revert 27604, as upstream resolved their related Bug. Revert "BB 27604: Fix addon issues when moving the profile directory" This reverts commit 419a66bb7e590c6bea46c3139c4b55010e969004. - - - - - 1 changed file: - toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs Changes: ===================================== toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs ===================================== @@ -509,9 +509,7 @@ class XPIState { // by XPIDatabaseReconcile.updatePath (called from XPIDatabaseReconcile.updateExistingAddon // when the oldAddon.path and newAddon.path are mismatching, as part of the // XPIDatabaseReconcile.processFileChanges logic). - // - // On Tor Browser we do it anyway whenever this.file is defined (tor-browser#27604) - if (this.file) { + if (this.file && (isRelocatedLocation || !("rootURI" in this))) { this.rootURI = getURIForResourceInFile(this.file, "").spec; if (isRelocatedLocation) { logger.warn( @@ -529,10 +527,7 @@ class XPIState { saved.currentModifiedTime != this.lastModifiedTime ) { this.lastModifiedTime = saved.currentModifiedTime; - } else if ( - saved.currentModifiedTime === null && - (!this.file || !this.file.exists()) - ) { + } else if (saved.currentModifiedTime === null) { this.missing = true; } } @@ -1658,7 +1653,6 @@ var XPIStates = { if (shouldRestoreLocationData && oldState[loc.name]) { loc.restore(oldState[loc.name]); - changed = changed || loc.path != oldState[loc.name].path; } changed = changed || loc.changed; View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2dd9... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/2dd9... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)