jeresig/dromaeo — pull request #12 by rniwa (2012-09-21 07:46:16+00:00)
Title: Fix jslib-modify-jquery so that it doesn't run out of memory under a fast JS engine with limited memory

Remove nodes added by each test case every 1000 runs so that we don't end up with 1e+7 or 1e+8 nodes and use up the entire 4GB of RAM in Chromium.

To do this, changed the name of element we insert from strong to strike so that we can quickly enumerate all the elements to remove (strike doesn't appear elsewhere in the document).

Also, call after() in the test case labeled "jQuery - after()".