summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testThrowWhileWrappingException.js
blob: 51169339ab4bb1a17a7a9066f4f1b20fd971ad3d (plain)
1
2
3
4
5
6
7
var caught = false;
try {
    evalcx("eval(\"throw<x/>\")", Function.a)
} catch (e) {
    caught = true;
}
assertEq(caught, true);