Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor Browser - brade
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kathleen Brade
Tor Browser - brade
Commits
b39391e6
Commit
b39391e6
authored
5 years ago
by
Alex Catarineu
Browse files
Options
Downloads
Patches
Plain Diff
Bug 27604: Fix addon issues when moving TB directory
parent
4436013e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolkit/mozapps/extensions/internal/XPIProvider.jsm
+6
-2
6 additions, 2 deletions
toolkit/mozapps/extensions/internal/XPIProvider.jsm
with
6 additions
and
2 deletions
toolkit/mozapps/extensions/internal/XPIProvider.jsm
+
6
−
2
View file @
b39391e6
...
...
@@ -485,7 +485,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;
}
...
...
@@ -498,7 +498,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;
}
}
...
...
@@ -1439,6 +1442,7 @@ var XPIStates = {
if (oldState[loc.name]) {
loc.restore(oldState[loc.name]);
changed = changed || loc.path != oldState[loc.name].path;
}
changed = changed || loc.changed;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment