test262-automation 32a39daf43 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 2b233fa3c0 targetRevisionAtLastExport: 8e3c6d0484
2018-12-15 19:17:28 +00:00

17 lines
476 B
JavaScript

//@ runDefault("--useLLInt=false", "--forceCodeBlockToJettisonDueToOldAge=true", "--maxPerThreadStackUsage=200000", "--exceptionStackTraceLimit=1", "--defaultErrorStackTraceLimit=1")
//@ skip if $memoryLimited or $buildType == "debug"
let foo = 'let a';
for (let i = 0; i < 400000; i++)
foo += ',a' + i;
var exception;
try {
new Function(foo)();
} catch (e) {
exception = e;
}
if (exception != "RangeError: Maximum call stack size exceeded.")
throw "FAILED";