[Webkit-unassigned] [Bug 16641] Acid3 reveals HTMLFormElement.elements fails to update when element name changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 31 16:29:23 PST 2007


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





------- Comment #2 from darin at apple.com  2007-12-31 16:29 PDT -------
(In reply to comment #1)
> The problem is JSNamedNodesCollection.  It caches the nodes at time of
> creation, and then it's not gone from the DOM cache until a GC.  Meaning if any
> of the nodes change, it's stale.  We'll probably move to something more like a
> NodeList.

I don't think that analysis is correct. Each call to "second" will create a
unique JSNamedNodesCollection.

The bug here is presumably something in HTMLCollection, not the DOM binding.
Perhaps nameCache is not getting invalidated. Perhaps the DOM tree version
isn't getting updated when the name is changed.


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