[Webkit-unassigned] [Bug 17118] New: kjs_navigator.cpp should be re-written to be less crazy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 31 09:13:50 PST 2008


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

           Summary: kjs_navigator.cpp should be re-written to be less crazy
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


kjs_navigator.cpp should be re-written to be less crazy

kjs_navigator uses a complicated/hacky memory management scheme and thus I bet
leaks in some cases.

Better would be for PluginBase to hold a reference to some PluginInfoCache
static.  When the PluginInfoCache ref count drops to 0, it can clear its
caches.  Those caches can use Vector<OwnPtr> to avoid ever leaking.

This could/should also be re-written to use the bindings autogen system.  Thus
Navigator would become a normal RefCounted class, and Navigator.idl would take
care of all the details.


-- 
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