[webkit-dev] Custom V8 bindings for WebWorkers

Adam Barth abarth at webkit.org
Mon Nov 26 15:21:49 PST 2012

Sounds like a reasonable idea.  Would you be willing to file a bug and
write a patch?


On Mon, Nov 26, 2012 at 3:18 PM, Marshall Greenblatt
<magreenblatt at gmail.com> wrote:
> Hi All,
> Applications embedding WebKit and Chromium can use existing C++ APIs
> to dynamically add custom V8 JavaScript bindings. These bindings allow
> closer integration between the script execution environment and the
> host application and are currently supported for page contexts via the
> FrameLoaderClient::didCreateScriptContext callback. However, custom V8
> bindings are not currently supported for WebWorkers. Combining the
> multi-threaded capabilities of WebWorkers with the flexibility offered
> by custom V8 bindings would be an extremely useful feature for some
> applications.
> How would people feel about exposing a V8 binding capability for
> WebWorkers? Would adding new callbacks similar to
> Platform::didStartWorkerRunLoop and Platform::didStopWorkerRunLoop be
> a reasonable implementation approach?
> Thanks,
> Marshall
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev

More information about the webkit-dev mailing list