Sign in
webkit
/
WebKit
/
0b12fa5591e07a09b635ce1b9a87f0e7c691d55a
/
.
/
JSTests
/
stress
/
promise-infinite-recursion-should-not-crash.js
blob: cb261f9c5aa140b6baa12ce9d5f71c1c45063881 [
file
] [
log
] [
blame
]
//@ defaultNoSamplingProfilerRun
// This should not crash
var
boundFunc
;
function
testPromise
(
func
)
{
var
p1
=
new
Promise
(
func
);
}
function
promiseFunc
(
resolve
,
reject
)
{
boundFunc
();
}
boundFunc
=
testPromise
.
bind
(
null
,
promiseFunc
);
boundFunc
();