Debian Codegraph @

js/src/jit-test/tests/basic/bug1122581.js

raw
1 function f(x, y) {
2 for (var i=0; i<50; i++) {
3 if (i % 10 === 0) {
4 var stack = getBacktrace({args: true, locals: true, thisprops: true});
5 assertEq(stack.includes("f(x = "), true);
6 foo = arguments;
7 }
8 }
9 }
10 f(1, 2);