jussi-kalliokoski/sink.js — Issue #12: Green threads spawning in Firefox
Author: jussi-kalliokoski
Created: 2012-02-24 19:27:02+00:00
State: open

The ```doInterval()``` spawns green threads in Firefox, because the timer might fire before the callback has finished. This creates pending DOM events, which makes Firefox think that the page is unresponsive. This pauses the current callstack, making way for the next callback fire *before* the previous one has finished, almost always changing the execution order,leading to unexpected results.