This demo shows how main window animation isn't interrupted by Web Workers. Note that the animation does not work in Opera (due to lack of requestAnimationFrame support).
Use arrow keys to change the direction of the animated square. The square is animated with requestAnimationFrame.
Click the button below to start or stop the worker.