Re: Using microtask checkpoints for resetting the slow script dialog timer

Boris Zbarsky <[email protected]> Thu, 11 Jul 2013 02:11:44 -0400
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 7/11/13 2:04 AM, Boris Zbarsky wrote:
> But more to the point, exactly what constitutes a microtask will be
> specced, and seems to align well with how the slow script dialog should
> work, to me.

Hmm...  Though I suppose it's possible that the spec could define on 
microtask per requestAnimationFrame callback while we want to have the 
slow-script timer consider all the callbacks for a single refresh driver 
tick together...

I guess the other problem is to just reset the slow script state when we 
spin the event loop.  That should help with the real problem we're 
trying to solve, which is being away from the event loop for too long, 
right?

-Boris