Files
Kmake/deps/v8/test/inspector/runtime/evaluate-repl-mode-expected.txt
2026-05-26 23:36:42 -07:00

66 lines
1.3 KiB
Plaintext

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
}
}
}