[Webkit-unassigned] [Bug 66181] HTMLPlugInElement persists until page teardown if the plugin requests the script object for it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 26 11:42:53 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66181


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|WebCore Misc.               |Plug-ins
                 CC|                            |andersca at apple.com




--- Comment #16 from Alexey Proskuryakov <ap at webkit.org>  2011-08-26 11:42:53 PST ---
Thank you! I guess cross-platform code is the right place for the fix then.

Are plug-ins completely torn down when an element is removed from document (and then re-created from scratch if the element is put back)?

+        Release the reference held by HTMLPlugInElement to the wrapping NPObject it may have created for itself, when the element is removed from the document.  This breaks a cyclical reference that would otherwise cause the element to be leaked.

Calling this a leak is misleading given that the memory is reclaimed when document is closed.

CC'ing Anders, who would likely be the best reviewer for this patch anyway.

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



More information about the webkit-unassigned mailing list