Closed
Bug 89162
Opened 23 years ago
Closed 23 years ago
Single-signon can't observe profile change if no instances exist
Categories
(SeaMonkey :: Passwords & Permissions, defect, P1)
SeaMonkey
Passwords & Permissions
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: ccarlen, Assigned: ccarlen)
Details
(Whiteboard: PDT+)
Attachments
(1 file)
4.48 KB,
patch
|
Details | Diff | Splinter Review |
This was going to be checked in with bug 86021 but that's no longer going into the branch. This needs to for the sake of embedding clients using profile switching. The problem is this: nsISingleSignon observes profile changes. Since these are components and not a service, if the last instance is destroyed before switching the profile (typical) there's nothing to observe the change and signon data is not flushed. I'm not sure why this was never noticed before. Maybe we were leaking a signon.
Comment 1•23 years ago
|
||
we should use app-startup components to instantiate a profile change listener...
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Alec, this is the same patch that you sr'd before with changes from your comments. The static member var is no longer an nsIObserver* but a simple PR_Bool and it's commented a bit better. Can you sr= this one? Steve, can you r=?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.3
Assignee | ||
Comment 4•23 years ago
|
||
Alec, I didn't see your comment before posting that patch.
> we should use app-startup components
I like that idea. On the other hand, this patch is tested and ready.
Comment 5•23 years ago
|
||
works for me! sr=alecf
Comment 6•23 years ago
|
||
Sorry, Steve's on vacation this week. But I approve your making this change to the wallet module. But you'll need to get someone else to do the review if you want it done this week.
Assignee | ||
Updated•23 years ago
|
Priority: -- → P1
Comment 7•23 years ago
|
||
r=valeski
Assignee | ||
Comment 9•23 years ago
|
||
Fix checked into branch & trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•