| CONSOLE MESSAGE: line 4: TypeError: undefined is not an object (evaluating '[].x.x') |
| CONSOLE MESSAGE: line 10: ReferenceError: Can't find variable: variableThatDoesNotExist |
| CONSOLE MESSAGE: line 16: SyntaxError: Unexpected token ')' |
| CONSOLE MESSAGE: line 22: IndexSizeError: The index is not in the allowed range. |
| CONSOLE MESSAGE: line 27: thrown string |
| CONSOLE MESSAGE: line 32: 123.456 |
| CONSOLE MESSAGE: line 37: null |
| CONSOLE MESSAGE: line 42: [object Object] |
| CONSOLE MESSAGE: line 47: [object HTMLBodyElement] |
| CONSOLE MESSAGE: line 55: CATCHER: TypeError: undefined is not an object (evaluating '[].x.x') |
| CONSOLE MESSAGE: line 55: CATCHER: thrown string |
| CONSOLE MESSAGE: line 55: CATCHER: [object Object] |
| Checks that $exception is available and accurate in evaluations when paused on an exception. |
| |
| |
| == Running test suite: CommandLineAPI.$exception |
| -- Running test case: BeforeExceptions |
| PASS: $exception should throw an error if there is no exception. |
| ReferenceError: Can't find variable: $exception |
| |
| -- Running test case: UncaughtTypeException |
| $exception => TypeError: undefined is not an object (evaluating '[].x.x') |
| Uncaught exception in test page: TypeError: undefined is not an object (evaluating '[].x.x') [exceptions.js:4] |
| |
| -- Running test case: UncaughtReferenceException |
| $exception => ReferenceError: Can't find variable: variableThatDoesNotExist |
| Uncaught exception in test page: ReferenceError: Can't find variable: variableThatDoesNotExist [exceptions.js:10] |
| |
| -- Running test case: UncaughtSyntaxException |
| $exception => SyntaxError: Unexpected token ')' |
| Uncaught exception in test page: SyntaxError: Unexpected token ')' [exceptions.js:16] |
| |
| -- Running test case: UncaughtDOMException |
| $exception => IndexSizeError: The index is not in the allowed range. |
| Uncaught exception in test page: IndexSizeError: The index is not in the allowed range. [exceptions.js:22] |
| |
| -- Running test case: UncaughtString |
| $exception => thrown string |
| Uncaught exception in test page: thrown string [exceptions.js:27] |
| |
| -- Running test case: UncaughtNumber |
| $exception => 123.456 |
| Uncaught exception in test page: 123.456 [exceptions.js:32] |
| |
| -- Running test case: UncaughtNull |
| $exception => null |
| Uncaught exception in test page: null [exceptions.js:37] |
| |
| -- Running test case: UncaughtObject |
| $exception => Object |
| Uncaught exception in test page: [object Object] [exceptions.js:42] |
| |
| -- Running test case: UncaughtNode |
| $exception => <body> |
| Uncaught exception in test page: [object HTMLBodyElement] [exceptions.js:47] |
| |
| -- Running test case: CatchTypeException |
| PASS: Paused, stepping out to catch block... |
| PASS: `$exception` should be equal to `e`. |
| $exception => TypeError: undefined is not an object (evaluating '[].x.x') |
| |
| -- Running test case: CatchThrownString |
| PASS: Paused, stepping out to catch block... |
| PASS: `$exception` should be equal to `e`. |
| $exception => thrown string |
| |
| -- Running test case: CatchThrownObject |
| PASS: Paused, stepping out to catch block... |
| PASS: `$exception` should be equal to `e`. |
| $exception => Object |
| |
| -- Running test case: AfterExceptions |
| PASS: $exception should throw an error if there is no exception. |
| ReferenceError: Can't find variable: $exception |
| |