Add some services to Services.jsm

RESOLVED FIXED in mozilla1.9.3a3

Status

()

--
enhancement
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Gavin, Assigned: mossop)

Tracking

Trunk
mozilla1.9.3a3
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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

Comment 1

9 years ago
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
(Assignee)

Comment 2

9 years ago
Created attachment 429604 [details] [diff] [review]
patch rev 1
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #429604 - Flags: review?(gavin.sharp)
Attachment #429604 - Flags: review?(gavin.sharp) → review+
(Assignee)

Comment 3

9 years ago
Checked in: http://hg.mozilla.org/mozilla-central/rev/365acfca64dc
Target Milestone: --- → mozilla1.9.3a3
(Assignee)

Updated

9 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Assignee)

Updated

9 years ago
Flags: in-testsuite+
Depends on: 553815
You need to log in before you can comment on or make changes to this bug.