Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 00c92b3d71 Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright
We distinguish between two kinds of pref syntax.
- "Default pref files" are the ones that come with Firefox, constructed from
  `all.js` and similar files.
- "User pref files" are the ones that get created in the user's profile.
  `prefs.js` is the one that Firefox creates and overwrites every time a pref
  changes. `user.js` is the one that users can create themselves.

We also have two basic kinds of pref.
- Default: `pref(...)` and the unfortunate `sticky_pref(...)`.
- User: `user_pref(...)`, which override but don't replace the default.

It only makes sense for user pref files to contain user prefs; users shouldn't
be able to create default prefs or change default pref values.

But it turns out that user pref files have been able to define default prefs
pretty much forever. This appears to be an oversight, and this commit restricts
things so that user pref files cannot contain default prefs.

The commit also fixes an incorrect comment in testParser.js.

Differential Revision: https://phabricator.services.mozilla.com/D73003
2020-04-29 21:47:12 +00:00
sagudev 84e60a5d6c Bug 1322254 - Remove network.disable.ipc.security pref r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71914
2020-04-24 17:42:35 +00:00
sonakshi 18f7d63c13 Bug 1544868 - Remove network predictor code and network.predictor.cleaned-up preference r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68341

--HG--
extra : moz-landing-system : lando
2020-03-31 13:57:09 +00:00
Kristen Wright 91d8e311f7 Bug 1577329 - Convert index.rst to markdown r=njn
Converts `modules/libpref/docs/index.rst` to .md format.

Differential Revision: https://phabricator.services.mozilla.com/D44752

--HG--
rename : modules/libpref/docs/index.rst => modules/libpref/docs/index.md
extra : moz-landing-system : lando
2019-09-05 02:21:13 +00:00