bug1385428.js (288B)
1 loadFile(` 2 try { 3 Array.prototype.splice.call({ get length() { 4 "use asm" 5 function f() {} 6 return f; 7 } }); 8 } catch (e) { 9 assertEq(e, s2, "wrong error thrown: " + e); 10 } 11 `); 12 function loadFile(lfVarx) { 13 try { 14 oomTest(new Function(lfVarx)); 15 } catch (lfVare) {} 16 }