[Webkit-unassigned] [Bug 9467] New: TreeWalker/NodeIterator do not restrict the traversal

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jun 16 07:14:20 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9467

           Summary: TreeWalker/NodeIterator do not restrict the traversal
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: Graham.Dennis at gmail.com


When setting a root object for a TreeWalker or NodeIterator object, this only
sets the starting point for iteration, and successively calling nextNode on
either of these objects will result in nodes outside of the root node. 

This would appear to be caused by the calls to traverseNextNode() in
NodeIterator/TreeWalker not restricting themselves to within the root of the
iterator.

On a side note, bug #3492 mentions that TreeWalker is broken in more serious
ways, and I suspect that some of the problems mentioned also apply to
NodeIterator.


-- 
Configure bugmail: http://bugzilla.opendarwin.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