Closed
Bug 322574
Opened 20 years ago
Closed 14 years ago
Continuous memory growth with this testcase using enablePrivilege
Categories
(Core :: Security: CAPS, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: martijn.martijn, Assigned: dveditz)
References
Details
(Keywords: memory-leak, testcase, Whiteboard: [MemShrink])
Attachments
(1 file)
|
419 bytes,
text/html
|
Details |
See upcoming testcase. You need to test it locally to see the bug.
It makes use of netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); which seems to be the cause of the memory growth, that's why I filed it in Core->Security (really not sure about that, though).
I know the testcase is odd, with producing that many timers, but I don't get the memory consumption with any other peace of js code than the enablePrivilige code, so that seems strange to me.
| Reporter | ||
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Component: Security → Security: CAPS
*** Bug 323232 has been marked as a duplicate of this bug. ***
Comment 3•18 years ago
|
||
I can reproduce on Mac, watching the "Real Memory" column in Activity Monitor. The testcase involves quadratic timer growth, so you can't really expect it to have low memory use. But the high memory use does seem to depend on the enablePrivilege call, so maybe something is going wrong there.
(Or it could just be that when UniveralXPConnect is enabled, we throttle timers less.)
Updated•16 years ago
|
QA Contact: toolkit → caps
Comment 5•14 years ago
|
||
enablePrivilege will be removed eventually, and this won't affect normal users.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•