RESOLVED FIXED229575
Float32Arrays.sort() return undefined when length < 2
https://bugs.webkit.org/show_bug.cgi?id=229575
Summary Float32Arrays.sort() return undefined when length < 2
carol.sun
Reported 2021-08-26 10:49:01 PDT
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]
Attachments
Patch (5.10 KB, patch)
2021-08-26 19:07 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2021-08-26 19:07:48 PDT
EWS
Comment 2 2021-08-26 22:42:49 PDT
Committed r281686 (241036@main): <https://commits.webkit.org/241036@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436602 [details].
Radar WebKit Bug Importer
Comment 3 2021-08-26 22:43:20 PDT
Note You need to log in before you can comment on or make changes to this bug.