mirror of https://github.com/tc39/test262.git
[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:
parent
90ca332e69
commit
4146be1823
|
@ -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";
|
Loading…
Reference in New Issue