RESOLVED FIXED 280927
[JSC] `GroupBy` should throw when the number of iterations exceeds 2^53 - 1
https://bugs.webkit.org/show_bug.cgi?id=280927
Summary [JSC] `GroupBy` should throw when the number of iterations exceeds 2^53 - 1
Sosuke Suzuki
Reported 2024-10-04 19:39:51 PDT
According to the spec[1], `GroupBy` should throw a TypeError when the number of iterations exceeds 2^53-1. Although it takes a very long time to reach this condition, it is not impossible. However, the current JSC does not throw a TypeError in such cases. [1]: https://tc39.es/ecma262/#sec-groupby
Attachments
Sosuke Suzuki
Comment 1 2024-10-04 19:40:58 PDT
EWS
Comment 2 2024-10-06 04:20:39 PDT
Committed 284739@main (2da72919849f): <https://commits.webkit.org/284739@main> Reviewed commits have been landed. Closing PR #34732 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-10-06 04:22:16 PDT
Note You need to log in before you can comment on or make changes to this bug.