blob: 75e7f2e8730bad9c260a5a20616bbfafd9ca4981 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
var lfLogBuffer = `
function testOuterForInVar() {
return eval("for (var x in {}); (function() { return delete x; })");
}
testOuterForInVar();
`;
loadFile(lfLogBuffer);
loadFile(lfLogBuffer);
function loadFile(lfVarx) {
try {
oomTest(function() {
eval(lfVarx);
});
} catch (lfVare) {}
}
|