Closed Bug 548627 Opened 12 years ago Closed 12 years ago

Add some services to Services.jsm

Categories

(Core :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a3

People

(Reporter: Gavin, Assigned: mossop)

References

Details

Attachments

(1 file)

From bug 512784 comment 21:

There are a couple of services I use frequently that I think we should add
here:

appinfo (@mozilla.org/xre/app-info;1) should QI as nsIXULAppInfo and
nsIXULRuntime
storage (@mozilla.org/storage/service;1) should QI as nsIStorageService

Maybe also these:

vc (@mozilla.org/xpcom/version-comparator;1) should QI as nsIVersionComparator
locale (@mozilla.org/intl/nslocaleservice;1) should QI as nsILocaleService
Severity: normal → enhancement
Version: unspecified → Trunk
Looking at what I have, these should be pretty common as well:

scriptLoader: @mozilla.org/moz/jssubscript-loader;1 / mozIJSSubScriptLoader
windowWatcher: @mozilla.org/embedcomp/window-watcher;1 / nsIWindowWatcher
dirService: @mozilla.org/file/directory_service;1 / nsIProperties
threadManager: @mozilla.org/thread-manager;1 / nsIThreadManager
Attached patch patch rev 1Splinter Review
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #429604 - Flags: review?(gavin.sharp)
Attachment #429604 - Flags: review?(gavin.sharp) → review+
Checked in: http://hg.mozilla.org/mozilla-central/rev/365acfca64dc
Target Milestone: --- → mozilla1.9.3a3
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Depends on: 553815
You need to log in before you can comment on or make changes to this bug.