WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
229575
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2021-08-26 19:07:48 PDT
Created
attachment 436602
[details]
Patch
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
<
rdar://problem/82423241
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug