[Webkit-unassigned] [Bug 14117] New: string localeCompare() method doesn't return same values as IE or Firefox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 13 04:30:25 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14117
Summary: string localeCompare() method doesn't return same values
as IE or Firefox
Product: WebKit
Version: 522+ (nightly)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: helen at helephant.com
the string localeCompare() method returns different values in windows safari
than it does in IE and Firefox.
I've attached a little sample file that demonstrates the problem.
Steps to reproduce:
1. Run the sample
2. Click the "compare" button
Actual Result:
In Safari it's returning 1 for less than, 2 for equals and 3 for greater than
Expected result:
In IE and Firefox it's returning -1 for less than, 0 for equals and 3 for
greater than
--
Configure bugmail: http://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.
More information about the webkit-unassigned
mailing list