Closed Bug 323232 Opened 20 years ago Closed 20 years ago

memory leak when repeatedly calling netscape.security.PrivilegeManager.enablePrivilage("UniversalXPConnect")

Categories

(SeaMonkey :: UI Design, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 322574

People

(Reporter: bdupont, Assigned: jag+mozilla)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 This html recreate the bug: <html> <head> <script language="javascript" type="text/javascript"> var count = 0; function init() { setInterval("update()", 10); } function update() { count = count+1; netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); document.getElementById("count").innerHTML = count; } </script> </head> <body onload="init();"> <table border="1" cellspacing="0" cellpadding="5"> <tr> <TD>update count</TD> <td id="count"> </td> </tr> </table> </body> </html> Reproducible: Always Steps to Reproduce: Running any HTML/js that repeatedly calls netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect") appears to recreate the problem. Actual Results: Memory usage continues to climb. Expected Results: I believe memory usage should remain constant. This problem can be observed under Linux and Windows.
I think this is bug 322574, not?
(In reply to comment #1) > I think this is bug 322574, not? My appologies. It is the same bug. dupes *** This bug has been marked as a duplicate of 322574 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.