Skip to content
  • weinig's avatar
    LayoutTests: · 0d78994a
    weinig authored
            Reviewed by Oliver.
    
            Update test for http://bugs.webkit.org/show_bug.cgi?id=14044
            Autogenerate the JS bindings for HTMLCollection.
    
            * tables/mozilla/bugs/bug53690-1-expected.txt: Now throws Undefined Error instead of Null Error
    
    WebCore:
    
            Reviewed by Oliver.
    
            Patch for http://bugs.webkit.org/show_bug.cgi?id=14044
            Autogenerate the JS bindings for HTMLCollection
    
            - also moves JSHTMLAllCollection into it's own file.
    
            * DerivedSources.make:
            * WebCore.pro:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/JSHTMLAllCollection.h: Added.
            (WebCore::JSHTMLAllCollection::JSHTMLAllCollection):
            (WebCore::JSHTMLAllCollection::toBoolean):
            (WebCore::JSHTMLAllCollection::masqueradeAsUndefined):
            * bindings/js/JSHTMLCollectionCustom.cpp: Added.
            (WebCore::getNamedItems):
            (WebCore::JSHTMLCollection::callAsFunction):
            (WebCore::JSHTMLCollection::implementsCall):
            (WebCore::JSHTMLCollection::canGetItemsForName):
            (WebCore::JSHTMLCollection::nameGetter):
            (WebCore::JSHTMLCollection::item):
            (WebCore::JSHTMLCollection::namedItem):
            (WebCore::toJS):
            * bindings/js/JSHTMLDocumentCustom.cpp:
            (WebCore::JSHTMLDocument::nameGetter):
            (WebCore::JSHTMLDocument::all):
            * bindings/js/JSXMLHttpRequest.cpp:
            * bindings/js/kjs_html.cpp:
            (WebCore::ImageConstructorImp::ImageConstructorImp):
            (WebCore::ImageConstructorImp::construct):
            * bindings/js/kjs_html.h:
            (WebCore::ImageConstructorImp::implementsConstruct):
            * bindings/js/kjs_window.cpp:
            (KJS::Window::namedItemGetter):
            * bindings/objc/DOMUtility.mm:
            (KJS::createDOMWrapper):
            * bindings/scripts/CodeGeneratorJS.pm:
            * html/HTMLCollection.cpp:
            (WebCore::HTMLCollection::tags):
            * html/HTMLCollection.h:
            (WebCore::HTMLCollection::collectionType):
            * html/HTMLCollection.idl:
            * html/HTMLOptionsCollection.idl:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@22080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0d78994a