Reviewed and landed by Darin.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Aug 2005 08:07:23 +0000 (08:07 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Aug 2005 08:07:23 +0000 (08:07 +0000)
commit258871af33bc4cae86ba0aac9c8182d8fa702573
treef8290f57007c3cfb10aa3b6a49304c09e0c0f8ea
parent3eadca8969d148ff0aba768e3d913bd4a0a38287
    Reviewed and landed by Darin.

        Test cases added:
        * layout-tests/dom/html/level2/html/HTMLSelectElement20-expected.txt:
This passes now.

        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::HTMLElementFunction::callAsFunction):
        (KJS::KJS::HTMLSelectCollection::put):
Handle exceptions.

        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLSelectElementImpl::add):
        * khtml/html/html_formimpl.h:
Make ::add raise an exception if before isn't a descendant
of the select element.

        * kwq/DOMHTML.mm:
        (-[DOMHTMLSelectElement add::]):
Handle the exception.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/dom/html/level2/html/HTMLSelectElement20-expected.txt
WebCore/ChangeLog-2005-08-23
WebCore/Makefile.am
WebCore/khtml/ecma/kjs_html.cpp
WebCore/khtml/html/html_formimpl.cpp
WebCore/khtml/html/html_formimpl.h
WebCore/kwq/DOMHTML.mm