[Webkit-unassigned] [Bug 250554] New: Provide public C API for accessing the state and result of a promise

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 02:13:03 PST 2023


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

            Bug ID: 250554
           Summary: Provide public C API for accessing the state and
                    result of a promise
           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

The public JavaScriptCore C API is currently missing functions for accessing the state and result of a promise. The private C++ APIs are already there:

https://github.com/WebKit/WebKit/blob/2c3591d6db31967955f974e615d986177db22774/Source/JavaScriptCore/runtime/JSPromise.h#L75-L76

It would also be great with a function for testing if a value is a promise, such as JSValueIsPromise().

-- 
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/20230113/c41d9dea/attachment-0001.htm>


More information about the webkit-unassigned mailing list