[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#14269: for (... in ...) does not show everything it should
From:       Hatto von Hatzfeld <hatto () salesianer ! de>
Date:       2000-10-31 21:36:59
[Download RAW message or body]

Package: kjs
Version: konqueror 1.9.8 (KDE 2)
Severity: normal
System: SuSE 6.2, kernel 2.2.13

Following Netscape specifications (and JScript) 
   for (a in b) { ... } 
executes the block with each property of object b stored one after the
other in a. For example a form object has this properties: name, action,
encoding, elements, length, method, target. But in konqueror a
for-in-loop over forms or document has no result. (That's quite strange,
because e.g. a loop over window *has* quite correct results. The
implementation should handle it in the same way for all objects. And
it's e feature very usefull for debugging...)

A demo of this bug resp. missing feature can be seen on:
http://www.hattos-seiten.de/konquerorjsbugs.html

Bye,
Hatto

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic