summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1264954.js
blob: d67ac2b63aca5f659a1dca0d66ccbe4898fe09ba (plain)
1
2
3
4
5
6
7
8
if (!('oomTest' in this))
    quit();
function f(x) {
    oomTest(() => eval(x));
}
f("");
f("");
f(`eval([   "x = \`\${new Error.lineNumber}" ].join())`);