[Webkit-unassigned] [Bug 80663] New: Array.prototype.toLocaleString visits elements in wrong order under certain conditions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 8 18:18:38 PST 2012


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

           Summary: Array.prototype.toLocaleString visits elements in
                    wrong order under certain conditions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andre.bargull at gmail.com


> [{toLocaleString:function(){throw 1}},{toLocaleString:function(){throw 2}}].toLocaleString()
Exception: 2

Per spec 15.4.4.3 [Array.prototype.toLocaleString()], array elements are visited in ascending order, but under certain conditions JSC violates the spec. In the example from above, the expected result is "Exception: 1" instead of "Exception: 2".

-- 
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