<rdar://problem/6150322> In Gmail, a crash occurs at KJS::Machine::privateExecute...
[WebKit-https.git] / LayoutTests / fast / js / resources / exception-try-finally-scope-error.js
1 description('This test makes sure stack unwinding works correctly when confronted with a 0-depth scope chain without an activation');
2 var result;
3 function runTest() {
4     var test = "outer scope";
5     with({test:"inner scope"})
6        (function () { try { throw ""; } finally { result = test; shouldBe("result", '"inner scope"'); return;}})()
7 }
8 runTest();
9
10 var successfullyParsed = true;