blob: 736f5062057913bb285341ef11988949e7783594 [file] [log] [blame]
description(
"This test checks that unwinding of exceptions properly copies registers of activation frames created by reentrant calls to JavaScript."
);
var f;
try {
(function() {
var j = 0;
f = function() { return j; };
throw new Object();
}).apply();
} catch (e) {
(function() {
shouldBe("f()", "0");
}).apply();
}