Skip to content
  • weinig's avatar
    LayoutTests: · 79190704
    weinig authored
            Reviewed by Hyatt.
    
            Update results for http://bugs.webkit.org/show_bug.cgi?id=13947
            Finish autogenerating the JS DOM traversal code
    
            * fast/dom/Window/window-properties-expected.txt:
    
    WebCore:
    
            Reviewed by Hyatt.
    
            Patch for http://bugs.webkit.org/show_bug.cgi?id=13947
            Finish autogenerating the JS DOM traversal code
    
            - Completely generate JSNodeFilter.
            - Move JSNodeFilterCondition into its own file
    
            * DerivedSources.make:
            * WebCore.pro:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/JSNodeFilterCondition.cpp: Copied from WebCore/bindings/js/kjs_traversal.cpp.
            (WebCore::JSNodeFilterCondition::JSNodeFilterCondition):
            (WebCore::JSNodeFilterCondition::mark):
            (WebCore::JSNodeFilterCondition::acceptNode):
            * bindings/js/JSNodeFilterCondition.h: Copied from WebCore/bindings/js/kjs_traversal.h.
            * bindings/js/JSNodeFilterCustom.cpp: Added.
            (WebCore::JSNodeFilter::mark):
            (WebCore::toNodeFilter):
            * bindings/js/kjs_dom.cpp:
            * bindings/js/kjs_traversal.cpp: Removed.
            * bindings/js/kjs_traversal.h: Removed.
            * bindings/js/kjs_window.cpp:
            * bindings/objc/DOM.mm:
            (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
            (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
            * bindings/scripts/CodeGeneratorJS.pm:
            * dom/Document.cpp:
            (WebCore::Document::createNodeIterator):
            (WebCore::Document::createTreeWalker):
            * dom/Document.h:
            * dom/NodeFilter.idl:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    79190704