[Webkit-unassigned] [Bug 123708] ChildNodeList should not be LiveNodeList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 3 11:35:40 PST 2013


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





--- Comment #5 from Antti Koivisto <koivisto at iki.fi>  2013-11-03 11:34:26 PST ---
> It's not great to duplicate the logic here.  We've had many use-after-free / correctness bugs in this area.
> I'd imagine we should be able to templatize the logic in LiveNodeList and use it here.

The existing code is a mess and would not be a good starting point for any templates. 

I suspect caching everything to a vector would work better for child node list anyway (after access to index > 0). I'm just doing this now to avoid behaviour changes.

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