patch: make JS for-in loop work for null and undefined w/o
throwing
Harri Porten
porten at froglogic.com
Tue Nov 18 10:33:00 CET 2003
On Mon, 17 Nov 2003, Maciej Stachowiak wrote:
>
> In other browsers, doing a for-in loop on null or undefined does
> nothing, instead of throwing an exception, here's a patch that gives
> JavaScriptCore the same behavior:
Peter had already fixed this issue in March. Nevertheless, I added your
code comment for clarity.
Thanks,
Harri.
More information about the Khtml-devel
mailing list