[javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 801a7d15df on Fri Dec 21 2018 19:18:17 GMT+0000 (Coordinated Universal Time)

This commit is contained in:
test262-automation 2018-12-21 19:20:51 +00:00
parent 90ca332e69
commit 4146be1823
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
//@ requireOptions("--maxPerThreadStackUsage=1572864")
function foo(a, b, c) {
try {
throw new Error();
} catch {
hello();
}
};
function Bar(d, e) {
hello();
}
function hello(f) {
new Bar(0);
};
var exception;
try {
foo();
} catch(e) {
exception = e;
}
if (exception != "RangeError: Maximum call stack size exceeded.")
throw "FAILED";