I’m part of a testing team and have been tasked with “behaving badly” using JavaScript in a Firefox browser. I’ve tried these methods to take the browser down, but none of them do anything worse than cause a popup asking to shut down the script.
Any other ideas?
Somewhat akin to a “fork bomb”
It is not stoppable by FF 3.6 and below (unless the user happens to close the violating tab soon enough). The longer you let it run the more vicious it will get. Eventually it will eat up all the memory available to the process. The load on the CPU should increase as well. Some operating systems will cope with a mis-behaving FF better than others. You can make this more degenerate if you also apply an appropriate load to the DOM each cycle.
Edit: “Use this knowledge only for the good of the world.” 🙂