Migrate "nsIPrefService" MDN doc to Firefox Source Docs
Categories
(Developer Infrastructure :: Source Documentation, task, P3)
Tracking
(Not tracked)
People
(Reporter: tgiles, Unassigned, Mentored)
References
Details
(Keywords: good-first-bug)
The missing document is located at https://github.com/mdn/archived-content/blob/main/files/en-us/mozilla/tech/xpcom/reference/interface/nsiprefservice/index.html and is needed for the testing overview doc in Bug 1736870.
If you have not contributed to Firefox before, please read the following sections of this quick start guide (note, you do not need to download the Firefox source code for this bug but feel free to):
If you do not download the Firefox source code, you will need to ensure moz-phab
is installed, otherwise you will not be able to submit your path. You can learn more about this process following the Mozilla Phabricator user guide
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Documentation Infrastructure' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Do you think having this page is still necessary? it mostly just duplicates the comments at https://searchfox.org/mozilla-central/source/modules/libpref/nsIPrefService.idl, and the comments there are more likely to be up to date.
I feel like anything that linked to this page could link to the interface on Searchfox instead.
Reporter | ||
Comment 3•3 years ago
|
||
Yeah, that's a valid point. The context for needing this nsIPrefService doc is covered by the nsIPrefService.idl file since the main testing doc (Bug 1736870) makes a simple reference to the nsIPrefService doc:
If the test runs in chrome scope (e.g mochitest chrome or browser-chrome), you can use
Services.prefs
to set the prefs in your test's setup function
I'm going to close this and the bug that is dependent on this doc for now. The storage documentation might be useful later but I have no need for it if this nsIPrefService bug goes away.
Updated•3 years ago
|
Description
•