1 description('This test makes sure stack unwinding works correctly in combination with dynamically added scopes');
6 GCController.collect();
8 for (var i = 0; i < 10000; ++i) // Allocate a sufficient number of objects to force a GC.
14 var test = "outer scope";
15 with({test:"inner scope"})
16 (function () { try { throw ""; } finally { result = test; shouldBe("result", '"inner scope"'); return;}})()
32 // Just clobber any temporaries