Closed Bug 1837747 Opened 1 year ago Closed 4 months ago

Use "Services.prefs" instead of the Preferences.sys.mjs module in remote/

Categories

(Remote Protocol :: Agent, enhancement, P3)

enhancement

Tracking

(firefox123 fixed)

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: marco, Assigned: gregp, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [lang=js][webdriver:m10:external])

Attachments

(1 file)

No description provided.
Component: General → Agent
Product: Firefox → Remote Protocol

Marco, I assume that the way in how to access and modify preferences is Services.prefs.* and that this is what we should do? Or is there some other way that is more preferred those days? Some more details would be good. Thanks.

Flags: needinfo?(mcastelluccio)

Yes, we should switch to using Services.prefs directly.

Flags: needinfo?(mcastelluccio)

Thanks for confirming. The code that needs to be changed can be found here:
https://searchfox.org/mozilla-central/search?q=%2FPreferences.sys.mjs&path=remote%2F&case=false&regexp=false

Summary: Stop using Preferences.sys.mjs in remote/ → Use "Services.prefs" instead of the Preferences.sys.mjs module in remote/
Mentor: aborovova
Priority: -- → P3
Whiteboard: [lang=js]
Assignee: nobody → gregp
Status: NEW → ASSIGNED
Pushed by gp3033@protonmail.com:
https://hg.mozilla.org/integration/autoland/rev/738b4616337d
Use Services.prefs instead of Preferences.sys.mjs in remote/ r=webdriver-reviewers,Sasha
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Whiteboard: [lang=js] → [lang=js][webdriver:m10:external]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: