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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27874

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
checkpoint."

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