Closed
Bug 553104
Opened 16 years ago
Closed 16 years ago
Use Services.jsm in sessionstore
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
VERIFIED
FIXED
Firefox 3.7a4
People
(Reporter: zpao, Assigned: zpao)
References
Details
Attachments
(1 file)
18.62 KB,
patch
|
zeniko
:
review+
|
Details | Diff | Splinter Review |
I know we just made the services lazy, but now we can be even lazier and just import Services.jsm and use as many of those as we can (observer, prefs, more?). It might be appropriate to add more services to Services.jsm.
Assignee | ||
Comment 1•16 years ago
|
||
Use Services.jsm in nsSessionStartup and nsSessionStore. I didn't add any new services since it didn't seem needed.
Comment 2•16 years ago
|
||
Comment on attachment 433627 [details] [diff] [review]
Patch v0.1
>- shEntry.setURI(IOSvc.newURI(aEntry.url, null, null));
>+ shEntry.setURI(Services.io.newURI(aEntry.url, null, null));
While you're at it, please replace this call to newURI (and three more) with _getURIFromString, or replace _getURIFromString with Services.io.newURI, or both with NetUtil.newUri - as long as things get consistent.
Thanks and r+=me.
Attachment #433627 -
Flags: review?(zeniko) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/65c44224e3cd - conformed to use _getURIFromString (Good catch by the way, I hadn't noticed that we were doing that)
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> What an QA do to verify this bug?
Nothing really. So long as nothing has broken with those services (observers, window mediator, etc) we're fine.
Ok. Session Store seems to work normally in today's nightly. Marking verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•