[Webkit-unassigned] [Bug 16758] New: ASSERT when using TreeWalker methods for a current node outside of the root (Acid3)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 5 16:48:05 PST 2008


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

           Summary: ASSERT when using TreeWalker methods for a current node
                    outside of the root (Acid3)
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sam at webkit.org


Running the Acid3 test in debug builds reveals an assertion failure:

ASSERTION FAILED: !stayWithin || !n->nextSibling() ||
n->nextSibling()->isDescendantOf(stayWithin)
(/Users/weinig/Code/webkit/OpenSource/WebCore/dom/Node.cpp:490 WebCore::Node*
WebCore::Node::traverseNextNode(const WebCore::Node*) const)

This stems from the TreeWalker class being able to set the currentNode to an
arbitrary node but not checking that is within it's root node when using the
traverseNextNode/traversePreviousNode functions.


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