[whatwg] Global script clean-up jobs and "spin the event loop"

Glenn Maynard glenn at zewt.org
Tue May 28 21:00:45 PDT 2013


"Jump to a code entry-point" essentially maintains a stack of entry
scripts, to determine the "outermost" script in order to know whether to
run the global clean-up jobs.  This assumes that this algorithm will always
be entered and exited as a stack: an invocation of the algorithm must
always complete after any later invocations.

Does this hold even in the face of multiple nested invocations of "spin the
event loop" algorithm?  That algorithm doesn't seem to try to guarantee any
kind of stack-like behavior.

-- 
Glenn Maynard


More information about the whatwg mailing list