Hi Christof,
See bug 44120 (http://bugzilla.mozilla.org/show_bug.cgi?id=44120). I've
submitted a patch that will process timer events during calls to an idle
processing routine in the embedding API.
Adam
Christof Meerwald wrote:
> Hi,
>
> it seems that Javascript's setTimeout doesn't work in winEmbed because it
> lacks timer-handling in it's Windows event-loop. I think something like:
>
> if (queue->HasReadyTimers(NS_PRIORITY_LOWEST)) {
> MSG wmsg;
> do {
> queue->FireNextReadyTimer(NS_PRIORITY_LOWEST);
> } while (queue->HasReadyTimers(NS_PRIORITY_LOWEST) &&
> !::PeekMessage(&wmsg, NULL, 0, 0, PM_NOREMOVE));
> }
>
> should be added to winEmbed's event-loop...
>
> bye, Christof
>
> --
> http://cmeerw.cjb.net http://cmeerw.cjb.net/wap/
>
> mailto cmeerw at web.de AIM, Yahoo! Messenger: cmeerw
>
> ...and what have you contributed to the Net?