blob: d750c9ef5672a5290be5ea3e654e8ee8136caa79 [file] [log] [blame]
CONSOLE MESSAGE: TypeError: undefined is not an object (evaluating '[].x.x')
CONSOLE MESSAGE: ReferenceError: Can't find variable: variableThatDoesNotExist
CONSOLE MESSAGE: SyntaxError: Unexpected token ')'
CONSOLE MESSAGE: IndexSizeError: The index is not in the allowed range.
CONSOLE MESSAGE: thrown string
CONSOLE MESSAGE: 123.456
CONSOLE MESSAGE: null
CONSOLE MESSAGE: [object Object]
CONSOLE MESSAGE: [object HTMLBodyElement]
CONSOLE MESSAGE: CATCHER: TypeError: undefined is not an object (evaluating '[].x.x')
CONSOLE MESSAGE: CATCHER: thrown string
CONSOLE MESSAGE: 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