nodejs/deps/v8/test/inspector/debugger/set-script-source-expected.txt

19 lines
440 B
Plaintext
Raw Permalink Normal View History

Tests Debugger.setScriptSource
TestExpression(2,4) === 6
Update current script source 'a + b' -> 'a * b'..
{
status : Ok
}
TestExpression(2,4) === 8
Update current script source 'a * b' -> 'a # b'..
{
exceptionDetails : {
columnNumber : 13
exceptionId : <exceptionId>
lineNumber : 1
text : Uncaught SyntaxError: Invalid or unexpected token
}
status : CompileError
}
TestExpression(2,4) === 8