v8/test/inspector/runtime/evaluate-repl-mode-expected.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
1.3 KiB
Plaintext
Raw Normal View History

Tests that Runtime.evaluate works with REPL mode.
Test 'let' re-declaration
SyntaxError in REPL mode does not crash the parser
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
{
id : <messageId>
result : {
result : {
description : 21
type : number
value : 21
}
}
}
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
{
id : <messageId>
result : {
result : {
description : 42
type : number
value : 42
}
}
}
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 10
exception : {
className : SyntaxError
description : SyntaxError: Unexpected token 'const'
objectId : <objectId>
subtype : error
type : object
}
exceptionId : <exceptionId>
lineNumber : 0
scriptId : <scriptId>
text : Uncaught
}
result : {
className : SyntaxError
description : SyntaxError: Unexpected token 'const'
objectId : <objectId>
subtype : error
type : object
}
}
}