[webkit-dev] Custom V8 bindings for WebWorkers

Marshall Greenblatt magreenblatt at gmail.com
Mon Nov 26 15:30:16 PST 2012

On Mon, Nov 26, 2012 at 6:21 PM, Adam Barth <abarth at webkit.org> wrote:
> Sounds like a reasonable idea.  Would you be willing to file a bug and
> write a patch?

Thanks for the fast response Adam. Filed as:

I'll submit a patch in the near future.

> Adam
> 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