From kde-bugs-dist Tue Oct 31 21:36:59 2000 From: Hatto von Hatzfeld Date: Tue, 31 Oct 2000 21:36:59 +0000 To: kde-bugs-dist Subject: Bug#14269: for (... in ...) does not show everything it should X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=97303090521835 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