summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug708819.js
blob: 8f3f0a552e0897f77f691e39ea9ab227fb097e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

try {
    var e = new Error();
    e.name = e;
    "" + e;
} catch (e) {
    assertEq(e.message, 'too much recursion');
}