About KJS::HTMLCollection::getNamedItems
Harri Porten
porten at trolltech.com
Thu Aug 15 10:14:26 BST 2002
On Thu, 15 Aug 2002, Koos Vriezen wrote:
> > > > Btw, doing a '"" + document.myname', generates a 'Type error: No default
> > > > value' script error.
> > > Hmm, this means we have no list -> string conversion. What does IE show?
>
> Can't we get rid of this once and for all in kjs, eg. return '[Unknown]'
> or '[Object]'?
Better not. Allowing the addition of a string with an object is a feature.
If it's not supported the user should get an error.
For all DOM objects in khtml/ecma there should be a conversion now. If
it's missing for the above it must be an execption case (with a different
base class).
Harri.
More information about the kfm-devel
mailing list