[Webkit-unassigned] [Bug 250511] New: JSValueGetType() is incorrect for BigInt values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 05:47:02 PST 2023


            Bug ID: 250511
           Summary: JSValueGetType() is incorrect for BigInt values
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kasperisager at hey.com

JSValueGetType() currently has no path for values of type BigInt and therefore falls through to the object case, returning kJSTypeObject:


I imagine a kJSTypeBigInt value should be introduced and a path for jsValue.isBigInt() added.

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/20230112/89bca459/attachment.htm>

More information about the webkit-unassigned mailing list