WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 25027
25478
ParseInt and Negatives values
https://bugs.webkit.org/show_bug.cgi?id=25478
Summary
ParseInt and Negatives values
Julien Dufrenne
Reported
2009-04-30 00:00:27 PDT
It seems that the parseInt(-10,44) return -11 instead of -10. I have noticed this bug on the iPhone 3.0 beta version and tested it on Safari 4 beta too... with the same result. On Safari 3 and on an iPhone 2.x, I have -10 as result. I have submitted this bug on the apple bugreporter too. Regards, Julien
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-04-30 01:20:30 PDT
Have you tried with a nightly build of WebKit? I think this was reported as
bug 25027
and fixed in
r42607
around a week ago.
Julien Dufrenne
Comment 2
2009-04-30 02:09:30 PDT
Ok it works with the nightly builds. Sorry i have found the previous bug *** This bug has been marked as a duplicate of
25027
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug