[Webkit-unassigned] [Bug 280927] New: [JSC] `GroupBy` should throw when the number of iterations exceeds 2^53 - 1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 4 19:39:51 PDT 2024


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

            Bug ID: 280927
           Summary: [JSC] `GroupBy` should throw when the number of
                    iterations exceeds 2^53 - 1
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aosukeke at gmail.com

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

-- 
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/20241005/4a414c90/attachment-0001.htm>


More information about the webkit-unassigned mailing list