Closed Bug 1416613 Opened 8 years ago Closed 8 years ago

Three small libpref tweaks

Categories

(Core :: Preferences: Backend, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox58 --- wontfix
firefox59 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(3 files)

No description provided.
Summary: Two tiny libpref tweaks → Three small libpref tweaks
Comment on attachment 8927701 [details] Bug 1416613 - Improve comments about pref IPC. https://reviewboard.mozilla.org/r/198974/#review204404 I'm wondering if the pref handling code from dom/ipc shouldn't be in modules/libpref.
Attachment #8927701 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8927702 [details] Bug 1416613 - Make Preferences::InitStaticMembers() slightly faster. https://reviewboard.mozilla.org/r/198976/#review204406 Technically speaking, sShutdown and sPreferences are not guaranteed to be set to resp. true and nullptr in Preferences::Shutdown in the order it's written there. But the API, as of writing, is main thread only (and InitStaticMembers asserts it is), we can be lenient for now.
Attachment #8927702 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8927709 [details] Bug 1416613 - Replace use of std::string and std::vector with Mozilla equivalents. https://reviewboard.mozilla.org/r/198982/#review204408
Attachment #8927709 - Flags: review?(mh+mozilla) → review+
> I'm wondering if the pref handling code from dom/ipc shouldn't be in > modules/libpref. Possibly. I suspect it's not because of the big "a DOM peer must review additions to this list" warning in ContentPrefs.cpp.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Won't fix for 58. Let it ride the train.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: