W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2013

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

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 28 May 2013 23:00:45 -0500
Message-ID: <CABirCh_je2oVbYbbniZB+AMR2wphihxuhCMhH00tXWuQ=p3nTA@mail.gmail.com>
To: whatwg <whatwg@whatwg.org>
"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
Received on Wednesday, 29 May 2013 04:01:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:59 UTC