Closed Bug 1725011 Opened 3 years ago Closed 9 months ago

Add $XDG_CONFIG_HOME handling to firefox-profile-js

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: gerard-majax, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs, )

Details

Blocks: 1725134
Assignee: nobody → lissyx+mozillians

Any progress on this?

No.

Fix will be released on version 4.6.0 of firefox-profile-js, but its already available on master. See linked issue https://github.com/saadtazi/firefox-profile-js/issues/136. Feedback and testing are welcome.

Are there relevant components within Firefox's code that need to be updated as well, or just the linked repo is enough?

Flags: needinfo?(lissyx+mozillians)

No, if I am reading right https://github.com/saadtazi/firefox-profile-js/pull/139/files#diff-de699942ceab36681f2eba06c7cbd4ed956ca9291f8761fdedbf7171260d1ba8R36 your fix will make sure we can source data from ~/.config/mozilla/firefox/, which adding support for into firefox-profile-js was what this bug was about.

Flags: needinfo?(lissyx+mozillians)

If you can verify that my reading is correct, then we can mark this bug as RESOLVED.

Flags: needinfo?(jr.om)

Yes, your reading is correct. The new algorithm searches, in this order, for sandboxed locations (assuming wrongly configured snap/flatpak), then the current dotdir and defaults to the xdg-config dir. (just to be clear, I'm not the author of the PR)

Flags: needinfo?(jr.om)
Assignee: lissyx+mozillians → nobody

Thanks!

Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.