blob: 115c857e0a1e2de4cbd59ea64c0a1b8703361071 [file]
Test for correct handling of exceptions from instanceof and 'new' expressions
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new {}.undefined threw exception TypeError: 'undefined' is not a constructor (evaluating 'new {}.undefined').
PASS 1 instanceof {}.undefined threw exception TypeError: 'undefined' is not a valid argument for 'instanceof' (evaluating '1 instanceof {}.undefined').
PASS successfullyParsed is true
TEST COMPLETE