Skip to content
  • weinig@apple.com's avatar
    Reviewed by Darin Adler. · 116c68e4
    weinig@apple.com authored
            Remove kjs_dom.{h,cpp}.
    
            - Removed custom toAttr, which took a boolean ok, and teach CodeGeneratorJS.pm
              to us a null return value as an indication of failure. (This new logic is used
              for toVoidCallback as well.)
            - Move getRuntimeObject to kjs_html where a bunch of other runtime object related
              functions currently live.
            - Move checkNodeSecurity to kjs_binding, where other frame security functions 
              currently live.
            - Remove getNodeConstructor.  It had no implementation.
    
            * GNUmakefile.am:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * WebCoreSources.bkl:
            * bindings/js/JSAttrCustom.cpp:
            * bindings/js/JSCustomVoidCallback.cpp:
            (WebCore::toVoidCallback):
            * bindings/js/JSCustomVoidCallback.h:
            * bindings/js/JSDatabaseCustom.cpp:
            (WebCore::JSDatabase::changeVersion):
            (WebCore::JSDatabase::transaction):
            * bindings/js/JSElementCustom.cpp:
            (WebCore::JSElement::setAttributeNode):
            (WebCore::JSElement::setAttributeNodeNS):
            * bindings/js/JSEventTargetBase.cpp:
            (WebCore::toJS):
            * bindings/js/JSEventTargetBase.h:
            * bindings/js/JSHTMLAppletElementCustom.cpp:
            * bindings/js/JSHTMLElementCustom.cpp:
            * bindings/js/JSHTMLEmbedElementCustom.cpp:
            * bindings/js/JSHTMLFormElementCustom.cpp:
            * bindings/js/JSHTMLFrameElementCustom.cpp:
            * bindings/js/JSHTMLIFrameElementCustom.cpp:
            * bindings/js/JSHTMLObjectElementCustom.cpp:
            * bindings/js/JSNamedNodeMapCustom.cpp:
            * bindings/js/JSNamedNodesCollection.cpp:
            * bindings/js/JSNodeFilterCustom.cpp:
            * bindings/js/JSXSLTProcessor.cpp:
            * bindings/js/kjs_binding.cpp:
            (WebCore::checkNodeSecurity):
            * bindings/js/kjs_binding.h:
            * bindings/js/kjs_css.cpp:
            * bindings/js/kjs_dom.cpp: Removed.
            * bindings/js/kjs_dom.h: Removed.
            * bindings/js/kjs_events.cpp:
            * bindings/js/kjs_html.cpp:
            (WebCore::getRuntimeObject):
            * bindings/js/kjs_html.h:
            * bindings/js/kjs_window.cpp:
            * bindings/scripts/CodeGeneratorJS.pm:
            * dom/Attr.idl:
            * html/HTMLPlugInElement.cpp:
            * page/InspectorController.cpp:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    116c68e4