[webkit-dev] Proposed Timer API

Alexey Proskuryakov ap at webkit.org
Thu Oct 2 02:27:38 PDT 2008


Oct 2, 2008, в 12:53 PM, Dmitry Titov написал(а):

> On a separate note, it almost feels that just adding  
> invokeAsSoonAsPossible(handler) that is equivalent to unclamped  
> setTimeout(..., 0) could be all that's needed.

I think that this can be done today with window.postMessage. One can  
probably find a solution that works with shipping versions of browsers  
(XMLHttpRequest with a data: URL comes to mind, but there may be more  
elegant and compatible ways).

- WBR, Alexey Proskuryakov



More information about the webkit-dev mailing list