mirror of https://github.com/tc39/test262.git
Merge pull request #2016 from test262-automation/javascriptcore-test262-automation-export-8f629cd87f
Import test changes from JavaScriptCore
This commit is contained in:
commit
fa20160767
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"sourceRevisionAtLastExport": "801a7d15df",
|
||||
"targetRevisionAtLastExport": "8f629cd87f",
|
||||
"sourceRevisionAtLastExport": "344dd04163",
|
||||
"targetRevisionAtLastExport": "4146be1823",
|
||||
"curatedFiles": {
|
||||
"/stress/Number-isNaN-basics.js": "DELETED_IN_TARGET",
|
||||
"/stress/Object_static_methods_Object.getOwnPropertyDescriptors-proxy.js": "DELETED_IN_TARGET",
|
||||
|
|
|
@ -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