W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

[Bug 27874] Microtasks and callbacks run from a queued task

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Jan 2015 16:47:03 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27874-3890-Z7nXc1XRgA@http.www.w3.org/Bugs/Public/>

Adam Klein <adamk@chromium.org> changed:

           What    |Removed                     |Added
                 CC|                            |adamk@chromium.org

--- Comment #3 from Adam Klein <adamk@chromium.org> ---
(In reply to Anne from comment #0)
> Ian suggested IDL needs to invoke HTML's "clean up after running a callback"
> from IDL's "Invoking callback functions" section. However, that will not do
> the right thing as that would make the order 1, 2, 3 either way.

Ian's suggestion seems fine to me. The language of the "clean up" stuff that
runs microtasks is:

"3. If the stack of script settings objects is now empty, perform a microtask

It's the first part of that clause which causes the two different orderings.

I don't think there's any new bug here, just the same old one that WebIDL needs
to be invoking callbacks via HTML spec methods.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 21 January 2015 16:47:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC