The line that calls test() is never hit: for (var i = 0; i < 1; ++i) test();
Created attachment 24802 [details] Test
Created attachment 24804 [details] Proposed Patch
Comment on attachment 24804 [details] Proposed Patch r=me We've got to find a way to automate these tests; otherwise we're going to break them all the time while working on the JavaScript engine.
Landed in r38040.