[Webkit-unassigned] [Bug 59571] [JSC] Nodes in shadow DOM should not be GCed while their hosts are alive and they have JS properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 27 16:39:24 PDT 2011


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


Dominic Cooney <dominicc at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[JSC] Nodes in shadow DOM   |[JSC] Nodes in shadow DOM
                   |should not be GCed while    |should not be GCed while
                   |their hosts are alive       |their hosts are alive and
                   |                            |they have JS properties




--- Comment #7 from Dominic Cooney <dominicc at chromium.org>  2011-04-27 16:39:24 PST ---
Ah! This doesn’t prevent the wrapper being collected if it has no properties/event listeners (isn’t "observable.") I have updated the bug title to reflect this. The patch just extends the notion of "connected" from parentNode to parentNode and shadowHost.

As for what this looks like in the API—we don’t have a specific proposal yet. But we expect scenarios such as: the script "inside" the component boundary adds event listeners to nodes in shadow DOM defined by the component; etc. The XBL2 analogy is adding event listeners or properties to elements in shadowTree.

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