[Bug 15007] Add an API to queue a task

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

Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsivonen@iki.fi

--- Comment #9 from Henri Sivonen <hsivonen@iki.fi> 2011-12-02 08:44:15 UTC ---
(In reply to comment #0)
> There are times when one wants to do something async. This is possible with
> setTimeout, but that doesn't run "as soon as possible". It's possible to abuse
> some API that uses async events, e.g. window.postMessage or XHR, but that's
> abuse. It would be nice if there were an API just to dispatch an event async
> i.e. put it on the event queue.

Why is using postMessage to self abuse? (It would be nice to have some sugaring
to do it without the boilerplate, though.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 2 December 2011 08:44:54 UTC