Bug 25478
Summary: | ParseInt and Negatives values | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julien Dufrenne <julien.dufrenne> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mrowe |
Priority: | P1 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Julien Dufrenne
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)
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
Ok it works with the nightly builds.
Sorry i have found the previous bug
*** This bug has been marked as a duplicate of 25027 ***