Closed Bug 102943 Opened 23 years ago Closed 22 years ago

caps and libjar are mutually dependent

Categories

(Core :: Security: CAPS, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: alecf, Assigned: security-bugs)

Details

(Keywords: embed, topembed-)

Attachments

(1 file)

In trying to clean up dependencies, I discovered that caps and libjar are mutually dependent...this is bad because libjar is needed by XPCOM for packaged xpt support, so xpcom transitively depends on caps. It looks like it's the nsIPrincipal interface that libjar uses is the culprit. I don't know enough about libcaps or libjar to know what the proper fix is here, but its something that needs to be fixed for embeddors.
Blocks: 100107
The XPCOM jar stuff is not included in an XPCOM standalone build. Is packaged xpt support going into XPCOM standalone when we end up with the one, true XPCOM?
it isn't right now, but we're eliminating XPCOM_STANDALONE I'm not sure how we'll be doing packaged xpt support, but in any case we need to fix these two dependencies.
I've been planning to remove the dependency on nsIPrincipal in nsJAR.cpp; will that fix the problem?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
awesome! I believe it would.
mitch: I'm trying to get xpcom into an isolated library by mozilla 0.9.6... is there any chance this can be fixed by then? (or sooner..?)
Blocks: 66759
No longer blocks: 100107
any news here? I'll gladly review once we get a complete fix.
Alec, I'll try to have it finished this week.
Target Milestone: mozilla0.9.7 → mozilla0.9.8
0.9.9
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Keywords: topembed
Keywords: mozilla1.0+
Target Milestone: mozilla0.9.9 → mozilla1.0
EDT Triage (chofmann, polar bear, cathleen) - minusing, Keep working on this, not critical and will take in a future milestone. adding dveditz to the cc list.
Keywords: topembedembed, topembed-
No longer blocks: 66759
Blocks: 100107
Target Milestone: mozilla1.0 → mozilla1.2alpha
this no longer blocks embedding as libjar is no longer required by xpcom.
No longer blocks: 100107
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
Clearing milestone for now.
Target Milestone: mozilla1.3alpha → ---
Resolving wontfix. If this is still important, please reopen.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: