Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
JSTests
/
stress
/
errors-with-simple-names-or-messages-should-not-crash-toString.js
blob: b0f912bd5bf6db40efb4f9e09ab6269d41f3e7fc [
file
] [
log
] [
blame
]
//@ runDefault
// This test should not crash.
Error
.
prototype
.
name
=
0
Error
().
toString
();
Error
(
"1"
).
toString
();
Error
(
0
).
toString
();
Error
.
prototype
.
name
=
""
Error
().
toString
();
Error
(
"1"
).
toString
();
Error
(
0
).
toString
();