CalculateDiscreteSize assertions: PrivilegeManager

VERIFIED WORKSFORME

Status

()

P3
blocker
VERIFIED WORKSFORME
19 years ago
18 years ago

People

(Reporter: thayes0993, Assigned: security-bugs)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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

Comment 2

19 years ago
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
(Assignee)

Comment 3

19 years ago
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

Comment 4

19 years ago
Reassigning QA
QA Contact: junruh → czhang
(Assignee)

Comment 5

18 years ago
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
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME

Comment 6

18 years ago
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.