[prev in list] [next in list] [prev in thread] [next in thread]
List: webkit-unassigned
Subject: [Webkit-unassigned] [Bug 25490] New: ToNumber should ignore NBSP
From: bugzilla-daemon () webkit ! org
Date: 2009-04-30 20:14:05
Message-ID: bug-25490-2851 () https ! bugs ! webkit ! org/
[Download RAW message or body]
https://bugs.webkit.org/show_bug.cgi?id=25490
Summary: ToNumber should ignore NBSP (\u00a0)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
URL: http://hexmen.com/tests/pushpop.html
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned@lists.webkit.org
ReportedBy: ash.searle@gmail.com
This bug in ToNumber is the only reason WebKit fails a couple of array push/pop
tests at the given URL.
For a minimal test-case - do an unsigned right-shift as below. Every case
should result in 3, but we get an answer of 0 when there's a non-breaking
space:
'\u0009 3' >>> 0; /* tab */
'\u0020 3' >>> 0; /* space */
'\u00a0 3' >>> 0; /* nbsp - fail! */
(see Section 9.3.1 of the EcmaScript 3rd edition spec for full list of
white-space characters)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
webkit-unassigned mailing list
webkit-unassigned@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic