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