Debian Codegraph @

js/src/tests/non262/reflect-parse/stackOverflow.js

raw
1 // |reftest| skip-if(!xulRuntime.shell)
2 // Bug 632024: no crashing on stack overflow
3 try {
4 Reflect.parse(Array(3000).join("x + y - ") + "z")
5 } catch (e) { }
6
7 if (typeof reportCompare === 'function')
8 reportCompare(true, true);