Inline security-prefs.js into all.js
Categories
(Core :: Security, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(2 files)
I'm not aware of any reason for them to be separate.
![]() |
Assignee | |
Comment 1•6 years ago
|
||
security-prefs.js is #included into greprefs.js, but there's no good reason for
it to be separate from all.js. Having it separate makes it easier to overlook,
and all.js has a bunch of security.*
prefs in it anyway.
This patch inlines it into all.js. It inlines it at the start of the file to
minimize the risk of the change, so that the prefs end up in greprefs.js in the
same order as before.
![]() |
Assignee | |
Comment 2•6 years ago
|
||
It's defined first as false, and again later in the file as true. This patch
removes the first definition, which is currently overridden by the second.
Depends on D40919
![]() |
Assignee | |
Comment 4•6 years ago
|
||
jorgk: the security-prefs.js
entry in suite/installer/removed-files.in
might need removing in comm-central.
Comment 5•6 years ago
|
||
Thanks, Nicholas. suite/ is for SeaMonkey, so I'll forward this.
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a84c1c3fd62
https://hg.mozilla.org/mozilla-central/rev/7f90ee314512
Updated•6 years ago
|
![]() |
||
Comment 7•6 years ago
|
||
Nicolas,
thanks. The reference in comm-central/suite is harmless. Unly used during uninstall and optional. I plan to clean this file up anyway and will then remove it.
Description
•