summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/coverage/bug1203695.js
blob: 5668e2dbab6bb5d5a3946ea757fbe0bc8df5d284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

var lfcode = new Array();
lfcode.push = loadFile;
lfcode.push(")");
lfcode.push(`
assertThrowsInstanceOf(function () {}, TypeError);
var g = newGlobal();
`);
getLcovInfo(g);
function loadFile(lfVarx) {
    try {
        evaluate(lfVarx, { noScriptRval : true, compileAndGo : true });
    } catch (lfVare) {}
}