2008-07-07 Simon Fraser <simon.fraser@apple.com>
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jul 2008 03:19:30 +0000 (03:19 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jul 2008 03:19:30 +0000 (03:19 +0000)
commitbb1e3da1bc30ec6df160b0d278f492af6a62930c
tree0da23876c6927426aa30c415e919990a5000af27
parent25e8183838cb7dc4ea4b4f9f10b069f296bd335a
2008-07-07  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin.

        Fix for https://bugs.webkit.org/show_bug.cgi?id=19933
        nodeIterator with filter fails on documents not in a frame

        Tests: traversal/node-iterator-009.html
               traversal/tree-walker-006.html

        * bindings/js/JSNodeFilterCondition.cpp:
        * bindings/js/JSNodeFilterCondition.h:
        * bindings/js/JSNodeFilterCustom.cpp:
        * bindings/js/JSNodeIteratorCustom.cpp:
        * bindings/js/JSTreeWalkerCustom.cpp:
        * bindings/objc/DOM.mm:
        * dom/NodeFilter.cpp:
        * dom/NodeFilter.h:
        * dom/NodeFilterCondition.cpp:
        * dom/NodeFilterCondition.h:
        * dom/NodeIterator.cpp:
        * dom/NodeIterator.h:
        * dom/Traversal.cpp:
        * dom/Traversal.h:
        * dom/TreeWalker.cpp:
        * dom/TreeWalker.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
22 files changed:
LayoutTests/ChangeLog
LayoutTests/traversal/node-iterator-009-expected.txt [new file with mode: 0644]
LayoutTests/traversal/node-iterator-009.html [new file with mode: 0644]
LayoutTests/traversal/tree-walker-006-expected.txt [new file with mode: 0644]
LayoutTests/traversal/tree-walker-006.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/JSNodeFilterCondition.cpp
WebCore/bindings/js/JSNodeFilterCondition.h
WebCore/bindings/js/JSNodeFilterCustom.cpp
WebCore/bindings/js/JSNodeIteratorCustom.cpp
WebCore/bindings/js/JSTreeWalkerCustom.cpp
WebCore/bindings/objc/DOM.mm
WebCore/dom/NodeFilter.cpp
WebCore/dom/NodeFilter.h
WebCore/dom/NodeFilterCondition.cpp
WebCore/dom/NodeFilterCondition.h
WebCore/dom/NodeIterator.cpp
WebCore/dom/NodeIterator.h
WebCore/dom/Traversal.cpp
WebCore/dom/Traversal.h
WebCore/dom/TreeWalker.cpp
WebCore/dom/TreeWalker.h