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) {} }