Closed
Bug 560593
Opened 16 years ago
Closed 16 years ago
use Services.jsm in suite glue
Categories
(SeaMonkey :: Startup & Profiles, defect)
SeaMonkey
Startup & Profiles
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1a1
People
(Reporter: kairo, Assigned: kairo)
References
Details
Attachments
(1 file)
|
27.70 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 1•16 years ago
|
||
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)
| Assignee | ||
Updated•16 years ago
|
OS: Linux → All
Hardware: x86 → All
Comment 2•16 years ago
|
||
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+
| Assignee | ||
Comment 3•16 years ago
|
||
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.
Description
•