Closed Bug 1883775 Opened 11 months ago Closed 11 months ago

remove `defaults` directory on macOS when empty

Categories

(Toolkit :: Application Update, defect, P3)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file)

https://bugzilla.mozilla.org/show_bug.cgi?id=1799332 removed the channel-prefs.js file that lives in defaults/pref, but not the defaults directory itself. As far as I know, there is no more usage of this directory, and we should be able to safely remove it when it is empty (as we already do for defaults/pref).

This will generate an rmdir instruction, which will remove the directory if empty.

This is useful as a basic cleanup measure, but it will also fix some of the errors we've seen in our update verify tests (see bug 1883123).

Depends on D203802

Severity: -- → S4
Priority: -- → P3
Pushed by bhearsum@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/937a51dbe70c remove defaults/pref when it is empty r=bytesized
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
See Also: → 1886446
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: