[Webkit-unassigned] [Bug 31349] String to number coercion is not spec compliant

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 16 22:42:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=31349


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |




--- Comment #8 from Darin Adler <darin at apple.com>  2010-06-16 22:42:41 PST ---
Some aspects of this bug have been fixed, but others have not.

Specifically, there was a bug where all non-ASCII values would cause the conversion to fail. That was fixed. Here are the remaining problems that I know of:

    1) Whitespace other than U+0020 is not correctly skipped.

    2) Illegal UTF-16 sequences will cause parseFloat to fail.

There are comments about both of these problems in UString::toDouble that I added a while back when I noticed the mistakes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list