Closed Bug 38036 Opened 25 years ago Closed 25 years ago

CalculateDiscreteSize assertions: PrivilegeManager

Categories

(Core :: Security: CAPS, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: thayes0993, Assigned: security-bugs)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.72 [en] (WinNT; U) BuildID: Assertions occur in debug builds when trying to enable the UniversalXPConnect privilege from a local html file. Reproducible: Always Steps to Reproduce: netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); Actual Results: ###!!! ASSERTION: CalculateDiscreteSize failed: 'PR_FALSE', file d:\moz12\mozill a\view\src\nsViewManager2.cpp, line 1941 ###!!! ASSERTION: CalculateDiscreteSize failed: 'PR_FALSE', file d:\moz12\mozill a\view\src\nsViewManager2.cpp, line 1941 ###!!! ASSERTION: recursive painting not permitted: '!(PR_TRUE == mPainting)', f ile d:\moz12\mozilla\view\src\nsViewManager2.cpp, line 584 ###!!! ASSERTION: recursive painting not permitted: '!(PR_TRUE == mPainting)', f ile d:\moz12\mozilla\view\src\nsViewManager2.cpp, line 584 Expected Results: CAPS should grant the requets upon user input (the dialog does appear) and record in for future use in the prefs.
thayes@netscape.com - as a Netscape employee, you probably should have decent Bugzilla permissions, so I've arranged that. Any further bugs you create should start with status NEW. In the mean time, I'm confirming this one; although I would appreciate it if you would check if it is still valid, seeing as it was filed over two weeks ago. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Forward to mstoltz. Mitch, could you ask leger@netscape.com to make you the owner of Security: CAPS? I did Security:General, but forgot Security:CAPS.
Assignee: nboyd → mstoltz
Terry - What was in the html file you were trying to load? Can you give me a more specific testcase? I'm guessing this is related to 39975. Do you think the assertion is firing because access to XPConnect has been denied? Do you see a "javascript error: access denied to XPConnect service:" message?
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Reassigning QA
QA Contact: junruh → czhang
I don't see this behavior. I don't think CalculateDiscreteSize assertions have anything to do with the security manager. The problem may have been with capabilities persistence; these problems have been fixed. Marking this WORKSFORME.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
I don't see the problem to enable the UniversalXPConnect priviledge, either sign the script or make "***_codebase, true" would be fine. http://cathyz/policy/xp.html
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.