Sign in
webkit
/
WebKit
/
69084d7b0eae184a8076d683d5feee69bc80ce44
/
.
/
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"
);