Summary: | Array.sort( func ) broken if func returns ± Infinity | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | zack-weg |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
zack-weg
2003-08-25 11:11:21 UTC
Actually, every return value not fitting into 32 bit fails. After looking at the code, this seems to fixed with revision 1.48 of kdelibs/kjs/array_object.cpp , but I leave this bug open until I can verify in the next release. http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kjs/array_object.cpp#rev1.48 Your test case (added to khtmltests/js/Array.js) indeed works with current CVS. Closing. |