In my application I found some JavaScript code that is using setInterval with 0 milliseconds, like so:
self.setInterval(\"myFunction()\",0);
I assume that in myFunction() there is a clearInterval.
Basically, you've set an interval that can happen as often as possible. If the browser executing JavaScript actually gets to the clearInterval part before the next iteration of the interval, then it will be fine. Otherwise, it will happen again and again.
Use setTimeout instead.