[Webkit-unassigned] [Bug 143377] New: Native JSFunction should be able to wrap std::function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 3 09:31:35 PDT 2015


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

            Bug ID: 143377
           Summary: Native JSFunction should be able to wrap std::function
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: youennf at gmail.com

By enabling std::function wrapped JSFunctions, we would allow lambda functions to be used as native JS functions.
This would be useful for instance in the implementation of ReadableStream operating on JS sources.
The close, error and enqueue JS functions need to retrieve in some manner the stream to operate on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150403/7b1978b8/attachment.html>


More information about the webkit-unassigned mailing list