[Webkit-unassigned] [Bug 229575] New: Float32Arrays.sort() return undefined when length < 2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 26 10:49:01 PDT 2021


            Bug ID: 229575
           Summary: Float32Arrays.sort() return undefined when length < 2
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: carol.sun at datadoghq.com

Safari has a javascript bug where Float32Arrays and Float64Arrays return undefined if it is sorted and has less than 2 elements. 

For example,
`new Float32Array([1]).slice().sort()`
returns undefined, when it should return Float32Array [4]

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210826/ed9cba9a/attachment.htm>

More information about the webkit-unassigned mailing list