Sign in
webkit
/
WebKit
/
56247e8f5d96a3029b7e84701f83e1e2a786fb6e
/
.
/
LayoutTests
/
js
/
script-tests
/
exception-for-nonobject.js
blob: 040abc30f8e25067cb576d31009379b0e56aa3aa [
file
] [
log
] [
blame
]
description
(
"Test for correct handling of exceptions from instanceof and 'new' expressions"
);
shouldThrow
(
"new {}.undefined"
);
shouldThrow
(
"1 instanceof {}.undefined"
);