Closed Bug 1839356 Opened 3 years ago Closed 10 months ago

Remove Preferences.sys.mjs usage from Thunderbird code

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(thunderbird_esr140 wontfix, thunderbird148 wontfix)

RESOLVED FIXED
149 Branch
Tracking Status
thunderbird_esr140 --- wontfix
thunderbird148 --- wontfix

People

(Reporter: mkmelin, Assigned: mkmelin)

References

(Depends on 1 open bug)

Details

Attachments

(2 external files)

+++ This bug was initially created as a clone of Bug #1385954 +++

Use Services.prefs instead of Preferences.sys.mjs in Thunderbird code (mail/, mailnews/, calendar/ and chat/). Looks like Preferences.sys.mjs is going away soonish but still some usage in core. See bug 1385954 and dependencies for examples.

https://searchfox.org/comm-central/search?q=Preferences.sys.mjs&path=&case=false&regexp=false

Depends on: 1385954

This gets rid of the easiest ones.
There is some more complex ones in calendar, and some slightly complex in mail - but such that we can copy over from Firefox when they fix theirs.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Target Milestone: --- → 140 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/238d83d108bd
Remove (some) Preferences.sys.mjs usage from Thunderbird code. r=freaktechnik

Target Milestone: 140 Branch → 149 Branch

This leaves only one usage in mail/components/enterprisepolicies/tests/xpcshell/head.js which is semi-shared with Firefox. Once they do something with it we can copy over.

Pushed by arschmitz@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/20decd08ec9e
Remove Preferences.sys.mjs usage from CalCalendarManager.sys.mjs. r=arschmitz

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

Attachment

General

Created:
Updated:
Size: