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