Closed
Bug 832848
Opened 13 years ago
Closed 12 years ago
Remove tooltip code from PSM
Categories
(Core Graveyard :: Security: UI, defect)
Core Graveyard
Security: UI
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla24
People
(Reporter: Dolske, Assigned: briansmith)
References
Details
Attachments
(3 files, 1 obsolete file)
|
10.62 KB,
patch
|
briansmith
:
review+
|
Details | Diff | Splinter Review |
|
19.12 KB,
patch
|
Details | Diff | Splinter Review | |
|
14.07 KB,
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
AFAICT, the tooltip related code in nsSecureBrowserUIImpl is entirely dead code -- nothing is actually consuming it. (And we were using it, it should be refactored, it's not doing anything terrible useful.)
| Assignee | ||
Comment 1•13 years ago
|
||
Given patch 0, the following can also be removed (I see you noticed this too):
nsITransportSecurityInfo::shortSecurityDescription
TransportSecurityInfo::GetShortSecurityDescription(PRUnichar** aText)
TransportSecurityInfo::SetShortSecurityDescription(const PRUnichar* aText)
TransportSecurityInfo::mShortDesc
pipnss.properties: SignedBy
pippki.properties: SignedBy
mShortDesc gets serialize/deserialized into the cache. For backward compatibility:
TransportSecurityInfo::Write needs to write an empty string instead of mShortDesc.
TransportSecurityInfo::Read needs to read the string (which may not be empty) and ignore it.
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #704445 -
Attachment is obsolete: true
Attachment #709433 -
Flags: review+
| Assignee | ||
Comment 3•13 years ago
|
||
| Assignee | ||
Comment 4•13 years ago
|
||
The diff -w is easier to read because I had to change the indention in the change to nsNSSCallbacks.cpp.
Attachment #709436 -
Flags: review?(dolske)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bsmith
| Reporter | ||
Updated•13 years ago
|
Attachment #709436 -
Flags: review?(dolske) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Blocks: 820887
Summary: Remove tooltip code from nsSecureBrowserUIImpl → Remove tooltip code from PSM
Target Milestone: --- → mozilla23
Comment 6•12 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/7f4e7df5a393 - at least, so far, Linux and Mac agree that you shouldn't make TransportSecurityInfo::Write try to convert 'const char16_t*' to 'const PRUnichar*'.
https://tbpl.mozilla.org/php/getParsedLog.php?id=22804671&tree=Mozilla-Inbound if you like your compiler errors Linux flavored, https://tbpl.mozilla.org/php/getParsedLog.php?id=22804979&tree=Mozilla-Inbound if you prefer Mac.
Comment 7•12 years ago
|
||
(In reply to Justin Dolske from comment #0)
> AFAICT, the tooltip related code in nsSecureBrowserUIImpl is entirely dead
> code -- nothing is actually consuming it.
http://hg.mozilla.org/comm-central/annotate/0c3935541187/suite/browser/nsBrowserStatusHandler.js#l383
Comment 8•12 years ago
|
||
I'll file a blocking bug on implementing the tooltip in UI code, as it seems as if it should be straightforward enough.
| Assignee | ||
Updated•12 years ago
|
| Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #6)
> Backed out in
> https://hg.mozilla.org/integration/mozilla-inbound/rev/7f4e7df5a393 - at
> least, so far, Linux and Mac agree that you shouldn't make
> TransportSecurityInfo::Write try to convert 'const char16_t*' to 'const
> PRUnichar*'.
Thanks.
Rebased and relanded with trivial fix:
https://hg.mozilla.org/integration/mozilla-inbound/rev/911f92728d22
Target Milestone: mozilla23 → mozilla24
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•