mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
19 lines
440 B
Plaintext
19 lines
440 B
Plaintext
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
|