Closed Bug 28381 Opened 25 years ago Closed 25 years ago

xpcshell sometimes denies access to xpconnect

Categories

(Core :: XPConnect, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dougt, Assigned: jband_mozilla)

Details

(Whiteboard: [PDT+])

Attachments

(1 file)

This does not happen every time, but I sometime get an assertion that says: Error Returned Access denied to XPConnect service. The frequency is about every third run and I am not entirely sure what the parameters are that cause this. Jband sent this diff which seams to fix this problem.
Attached patch jband's diff.Splinter Review
Keywords: beta1
Status: NEW → ASSIGNED
It looks like the fix to http://bugzilla.mozilla.org/show_bug.cgi?id=26725 causes the caps security manager to get init'd even in xpcshell because the jsloader asks it for system principals in order to do its thing. My patch just makes sure that the default security manager installed by caps is not used on this xpcshell jscontext.
Putting on PDT+ radar for beta1.
Whiteboard: [PDT+]
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Marking Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: