[Webkit-unassigned] [Bug 17523] New: Javascript creating a protected object for onclick and not GCing once no-longer shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 24 13:26:02 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17523

           Summary: Javascript creating a protected object for onclick and
                    not GCing once no-longer shown
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
               URL: http://yuuzhan.selfip.net:81/runner/?sec=view
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kb1ibt at gmail.com


On the page there are new protected objects being created for every element
assigned with a onclick function. Specifically looking at the runner.js file
inside the createLI function  there is an object being assigned with a function
via onclick which seems to cause the object to become protected. Since that
page updates every 5 seconds after a couple hours safari will report an out of
memory issue in the javascript console.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list