[webkit-dev] Crashing Workers Code?

Dmitry Titov dimich at chromium.org
Mon Mar 29 17:47:06 PDT 2010


On Mon, Mar 29, 2010 at 5:26 PM, Darin Adler <darin at apple.com> wrote:

> On Mar 29, 2010, at 5:14 PM, Dmitry Titov wrote:
>
> > JSC workers are terminated by setting a 1-ms timeout. V8 workers
> terminate by throwing exception of a special kind and then checking for it
> in C++ code.
>
> There is precedent in JavaScriptCore for using a special exception to
> terminate code. InterruptedExecutionError is used for this purpose. I could
> imagine having something similar for workers. A timeout sounds like a poor
> way to do it.
>
>
Indeed. Added this info to https://bugs.webkit.org/show_bug.cgi?id=36646 and
renamed it.


>    -- Darin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100329/f45e2ad7/attachment.html>


More information about the webkit-dev mailing list