Closed
Bug 129042
Opened 23 years ago
Closed 15 years ago
Make S/Mime more modular
Categories
(MailNews Core :: Security: S/MIME, enhancement, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: bugzilla, Assigned: KaiE)
References
Details
(Whiteboard: [psm-smime])
if PSM is not installed I'm getting this when starting mail&news:
Warning: reference to undefined property Components.interfaces.nsIPKIParamBlock
Source File: chrome://messenger-smime/content/msgReadSMIMEOverlay.js
Line: 43
20020304
Comment 2•23 years ago
|
||
actually this is invalid. There's no way we're going to ahve s/mime without PSM.
msgReadSMIMEOverlay can be compiled out and should certainly not be present if
PSM is not present.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•23 years ago
|
||
the bug report is perfectly legal. You should *never* get strict warnings. I
dont care if PSM is installed or not.
You just have to strengthen the check.
something like:
if "nsIPKIParamBlock" in Components.interfaces
bla bla bla
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Assignee | ||
Comment 4•23 years ago
|
||
Well, at installation time, you can choose which packages you want.
S/Mime is a package, that depends on both mail/news and psm. Currently, it is
installed together with mail/news.
Instead, it should only get installed, if both mail/news and psm get installed.
I talked to dveditz, and he thinks we are currently unable to create installer
rules with multiple parents dependencies.
However, even if we installled the smime library only if both mail/news and psm
get installed, this doesn't solve the problem, because we still have the UI
overlays.
Therefore, I'm changing this bug into an enhancement request, to make S/Mime
completely modular.
In order to fix it, we would have to create a new separate XPI file, and make
sure everything related to S/Mime is moved there.
Severity: normal → enhancement
Summary: javascript strict warnings in msgReadSMIMEOverlay.js → Make S/Mime more modular
Target Milestone: 2.2 → Future
Updated•23 years ago
|
QA Contact: alam → carosendahl
Assignee | ||
Comment 5•23 years ago
|
||
*** Bug 124912 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
Henrik is right. I'm a strong supporter of no strict warning period.
i'm a strong supporter of non fatal asserts for non important missing
dependencies...
Assignee | ||
Comment 8•23 years ago
|
||
*** Bug 143027 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
The question is: If you make the packages completely modular, how will the non
s/mime, non PSM mail client react when opening signed and/or encrypted messages?
Hopefully not like Bug 143027.
Assignee | ||
Comment 10•23 years ago
|
||
In order to fix any errors produced by overlays, that get activated because the
S/Mime extension is loaded, while PSM is not, see comment 4.
In order to fix the reported crash, it should be determined at runtime, whether
S/Mime is available or not. Currently that is done at compile time.
At compile time, the mime parser decides that it should handle the S/Mime mime
types. But it should not do that unless both the S/Mime extension and PSM are
installed.
Assignee | ||
Comment 11•23 years ago
|
||
*** Bug 120305 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 12•23 years ago
|
||
*** Bug 130293 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 13•23 years ago
|
||
*** Bug 130294 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
QA Contact: carosendahl → s.mime
Assignee | ||
Comment 14•15 years ago
|
||
Things have changed during the previous 8 years.
PSM and crypto is now an integral part of the core platform, it's no longer optional.
-> wontfix
Status: REOPENED → RESOLVED
Closed: 23 years ago → 15 years ago
Resolution: --- → WONTFIX
Whiteboard: [psm-smime]
You need to log in
before you can comment on or make changes to this bug.
Description
•