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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 11:19:23 PST 2023


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

--- Comment #7 from Mark Lam <mark.lam at apple.com> ---
(In reply to Kasper Isager Dalsgarð from comment #6)
> For converting BigInts to C primitives, there already seem to be private
> APIs available:
> 
> https://github.com/WebKit/WebKit/blob/
> 4abc58df4642909ba616e53f76f7e69b18934b18/Source/JavaScriptCore/runtime/
> JSCJSValue.h#L312-L313

The complication isn't with the primitives.  It's with getting the API correct e.g. for interactions with other API, for correctness, for security, for performance, etc.  Designing that and testing it will take time.

-- 
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/20230117/5136ccd2/attachment.htm>


More information about the webkit-unassigned mailing list