WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143377
Native JSFunction should be able to wrap std::function
https://bugs.webkit.org/show_bug.cgi?id=143377
Summary
Native JSFunction should be able to wrap std::function
youenn fablet
Reported
2015-04-03 09:31:35 PDT
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.
Attachments
WIP
(12.11 KB, patch)
2015-04-03 09:34 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2015-04-03 09:34:38 PDT
Created
attachment 250081
[details]
WIP
youenn fablet
Comment 2
2015-06-16 04:58:22 PDT
Fixed as part of
bug 145792
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug