Closed Bug 560593 Opened 16 years ago Closed 16 years ago

use Services.jsm in suite glue

Categories

(SeaMonkey :: Startup & Profiles, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a1

People

(Reporter: kairo, Assigned: kairo)

References

Details

Attachments

(1 file)

Using the startup component, as suite glue does lots of startup work. nsSuiteGlue.js uses a ton of services, many of which can be called much more nicely with Services.jsm
And here's the patch to do it! (bug 498596 part 3 will need an update as well, but I already have that locally)
Attachment #440279 - Flags: review?(neil)
OS: Linux → All
Hardware: x86 → All
Comment on attachment 440279 [details] [diff] [review] convert nsSuiteGlue.js >+ switch (Services.perms.testExactPermission(aRequest.requestingURI, "geo")) { > case nsIPermissionManager.ALLOW_ACTION: I wonder whether we should use Services.perms.ALLOW_ACTION (c.f. prompt)
Attachment #440279 - Flags: review?(neil) → review+
Pushed as http://hg.mozilla.org/comm-central/rev/71558cab8b64 with the switch to Services.perms.ALLOW_ACTION etc.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: