a testcase for a new khtml problem

Leo Savernik l.savernik at aon.at
Wed Apr 27 14:58:04 BST 2005


Am Mittwoch, 27. April 2005 15:08 schrieb Luciano Montanaro:
> This is because in the All: case the KJS::HTMLDocument::tryGet() method
> the object is returned, but it is "hidden".
>
> This makes it of type Undefined. This in turn makes the
> KJS::Reference::getvalue() method throw an exception.
>
> I'm not sure this is the intended behaviour; is it possible to do anything
> useful with document.all if it is hidden?

No, this is clearly a bug. It should only return hidden in cases like

if (document.all)

but not on implicitly dereferencing it

document.all["blah"]

Allen, you coded that one IIRC. Can you comment on that?

mfg
	Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050427/2c05f884/attachment.sig>


More information about the kfm-devel mailing list