Reviewed by Ken.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2003 19:46:12 +0000 (19:46 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Dec 2003 19:46:12 +0000 (19:46 +0000)
commitd16a81b1d128cdf3d1706be1def9387fc6ec7f16
tree85f282b45568b759726022c1be1e3da96b3acab5
parent127d975d6f2a7ee368aee36525a2cb8917f8b8b2
    Reviewed by Ken.

<rdar://problem/3395759>: results of parent.document.getElementsByTagName can't be added to string

* khtml/ecma/kjs_dom.cpp:
        (DOMNodeList::toPrimitive): Always convert to string instead of trying to convert
to number and failing, as is done for DOMNode.
        * khtml/ecma/kjs_dom.h: Prototype new method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@5672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_dom.cpp
WebCore/khtml/ecma/kjs_dom.h