Article View: comp.lang.javascript
Article #27Re: recursive requestAnimationFrame
From: Mikko
Date: Mon, 09 Nov 2026 17:15
Date: Mon, 09 Nov 2026 17:15
17 lines
2033 bytes
2033 bytes
On 09/11/2026 15:53, Stefan Ram wrote:
> ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
>> Maybe that browser is showing you the /asynchronous call stack/
>> ("Async Stack Traces"), not the execution stack. This async stack
>> seems to be a history of scheduling ancestry. The browser saved
>> a history of who scheduled whom.
>
> It's also possible that what you see /is/ the actual call stack,
> and there is some other part of the code that actually /is/
> recursive. I don't have Safari here to check this out.
As my animation code calls requestAnimationFrame there is an indirect
recursion if requestAnimationFrame is recursive. Otherwise I have no
recursion that involves requestAnimationFrame.
--
Mikko
Technical Details
Message-ID:
<11csv2v$1eil0$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11csaeg$169bs$1@dont-email.me> <stack-20261109141457@ram.dialup.fu-berlin.de> <stack-20261109145242@ram.dialup.fu-berlin.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Mikko <mikko.levanto@iki.fi> Newsgroups: comp.lang.javascript Subject: Re: recursive requestAnimationFrame Date: Mon, 9 Nov 2026 19:15:11 +0200 Organization: A noiseless patient Spider Lines: 17 Message-ID: <11csv2v$1eil0$2@dont-email.me> References: <11csaeg$169bs$1@dont-email.me> <stack-20261109141457@ram.dialup.fu-berlin.de> <stack-20261109145242@ram.dialup.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 09 Nov 2026 17:15:12 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1526432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//SLYn+iMmPTSFw8EEZo9K"; posting-host="dd5c72feaa91105fad53e74a5601dca4" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Fi+KmxwX+EqYY052kjK22Dcc8jk= sha256:wwFzQblYjZ+V9FFOfXREyFLKqequl4Tp+9F+PCeXV8k= sha1:Y2enF1ZC2WQGFXpTZM5gzEEByzE= sha256:r0FxxhVeAwoXR1bRGCfC8Qfx3AYBMvgCkN6dnN3euuU= In-Reply-To: <stack-20261109145242@ram.dialup.fu-berlin.de>