summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/bug1015339.js
blob: 2441811d491e0e9a03f7cad23e40170459809641 (plain)
1
2
3
4
5
6
7
8
function f(x, y) {
    for (var i=0; i<40; i++) {
	var stack = getBacktrace({args: true, locals: true, thisprops: true});
	assertEq(stack.includes("f(x = "), true);
	backtrace();
    }
}
f(1, 2);