microtask timeouts (was Re: setImmediate)

Brendan Eich brendan at mozilla.com
Mon Aug 12 21:30:01 PDT 2013


David Herman wrote:
> On Aug 12, 2013, at 6:32 PM, David Bruant<bruant.d at gmail.com>  wrote:
>
>> How do people recover today from when the user click "stop script"?
>
> They don't; it's a crash

(safe of course -- I'm a C hacker at heart :-P)

>   -- the web equivalent of "this application has stopped responding." You might as well ask for a solution to the halting problem!

Indeed the stop-script option (whatever its UX) is necessary to avoid 
denial of service, at the limit.

/be


More information about the es-discuss mailing list