Closed
Bug 465978
Opened 16 years ago
Closed 16 years ago
Port security exceptions front end piece from Thunderbird to SeaMonkey
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.0a2
People
(Reporter: kairo, Assigned: misak.bugzilla)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
2.41 KB,
patch
|
kairo
:
approval-seamonkey2.0a2+
|
Details | Diff | Splinter Review |
Bug 429843 did introduce a rough piece mailnews security exception UI to the Thunderbird frontend, we should adopt this on SeaMonkey as well, and follow bug 465795 later for a better implementation.
For now, let's port the simple piece, as mentioned in bug 429843 comment #79 and bug 429843 comment #88.
Assignee | ||
Comment 1•16 years ago
|
||
Seems easy one.
Attachment #350479 -
Flags: superreview?(neil)
Attachment #350479 -
Flags: review?(neil)
Assignee | ||
Comment 2•16 years ago
|
||
oops, i left dump() in code.
Attachment #350479 -
Attachment is obsolete: true
Attachment #350480 -
Flags: superreview?(neil)
Attachment #350480 -
Flags: review?(neil)
Attachment #350479 -
Flags: superreview?(neil)
Attachment #350479 -
Flags: review?(neil)
Reporter | ||
Comment 3•16 years ago
|
||
This patch works fine for accessing an account with an invalid cert from the mail window (tested with IMAPs here) but when doing the load from the browser window to update the mailbiff icon and mailnews not open yet, it fails and still displays the "stupid" cert error dialog with no possibility to add exceptions (of course, as the callback is only installed on the actual mail window).
Comment 4•16 years ago
|
||
Comment on attachment 350480 [details] [diff] [review]
correct patch
InformUserOfCertError and BadCertHandler (or should it be called nsMsgBadCertHandler?) need to live in mailTasksOverlay.js so that as some point we can hook it up to the biff code Kairo was talking about.
>+ setTimeout(InformUserOfCertError, 0, socketInfo, targetSite);
Nit: unused socketInfo
>+ var params = { exceptionAdded : false };
>+ params.prefetchCert = true;
>+ params.location = targetSite;
Nit: should write this as one big JS object instead of setting the properties separately.
Comment 5•16 years ago
|
||
Comment on attachment 350480 [details] [diff] [review]
correct patch
>+ if (!iid.equals(Components.interfaces.nsIBadCertListener2) &&
>+ !iid.equals(Components.interfaces.nsIInterfaceRequestor) &&
>+ !iid.equals(Components.interfaces.nsISupports))
Nit: iid needs to line up on each line.
r+sr=me with all those nits fixed.
I tried to see if I could resolve the bad cert issue on the browser window but unfortunately whenever you have a msgWindow you get alerts for e.g. timeouts.
Attachment #350480 -
Flags: superreview?(neil)
Attachment #350480 -
Flags: superreview+
Attachment #350480 -
Flags: review?(neil)
Attachment #350480 -
Flags: review+
Assignee | ||
Comment 6•16 years ago
|
||
Requesting r,s again, i'm not sure that i understood all right.
Attachment #350480 -
Attachment is obsolete: true
Attachment #350604 -
Flags: superreview?(neil)
Attachment #350604 -
Flags: review?(neil)
Attachment #350604 -
Flags: approval-seamonkey2.0a2?
Comment 7•16 years ago
|
||
Comment on attachment 350604 [details] [diff] [review]
nits fixed for checkin
>+ setTimeout(InformUserOfCertError, 0, socketInfo, targetSite);
...
>+function InformUserOfCertError(socketInfo, targetSite)
Nit: You never actually use socketInfo, so I don't see the point of passing it.
Attachment #350604 -
Flags: superreview?(neil)
Attachment #350604 -
Flags: superreview+
Attachment #350604 -
Flags: review?(neil)
Attachment #350604 -
Flags: review+
Assignee | ||
Comment 8•16 years ago
|
||
Last nit fixed, carrying forward r+, sr+ from Neil.
Attachment #350604 -
Attachment is obsolete: true
Attachment #350607 -
Flags: approval-seamonkey2.0a2?
Attachment #350604 -
Flags: approval-seamonkey2.0a2?
Reporter | ||
Updated•16 years ago
|
Attachment #350607 -
Attachment is patch: true
Attachment #350607 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Updated•16 years ago
|
Attachment #350607 -
Flags: approval-seamonkey2.0a2? → approval-seamonkey2.0a2+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 9•16 years ago
|
||
Comment on attachment 350607 [details] [diff] [review]
for checkin
[Checkin: Comment 9]
http://hg.mozilla.org/comm-central/rev/ba6cc9834591
Attachment #350607 -
Attachment description: for checkin → for checkin
[Checkin: Comment 9]
Updated•16 years ago
|
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•