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

List:       konq-bugs
Subject:    [Bug 147341] New: the isNaN javascript function returns false when
From:       "Kévin" FERRARE <timid3000 () gmail ! com>
Date:       2007-06-29 1:43:36
Message-ID: 20070629034335.147341.timid3000 () gmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147341         
           Summary: the isNaN javascript function returns false when getting
                    a blank string in parameter
           Product: konqueror
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kjs
        AssignedTo: konq-bugs kde org
        ReportedBy: timid3000 gmail com


Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          i686-pc-linux-gnu - gcc 4.1.2 (Gentoo 4.1.2) 
OS:                Linux

The isNaN function's behaviour is to return true if the argument is not a number and \
false if the argument is a number. isNaN("") returns true on firefox and internet \
explorer.

But in Konqueror, isNaN("") returns false, making some javascript code crash.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


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

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