Sign in
webkit
/
WebKit
/
6ada3cd2e0d9b9e450b5e021e0e5526f55f59df8
/
.
/
JSTests
/
stress
/
catch-clause-should-be-under-tdz5.js
blob: 02462bc13f5132cfc29dd7c7be39c1f1146c6e1c [
file
] [
log
] [
blame
]
// This test should not crash.
var
caughtReferenceError
=
false
;
try
{
while
(
1
)
try
{
throw
{}}
catch
({
a
=({}={
__proto__
}),
__proto__
}){}
}
catch
(
e
)
{
caughtReferenceError
=
true
;
}
if
(!
caughtReferenceError
)
throw
Error
(
"Missing ReferenceError"
);