v8/test/inspector/runtime/evaluate-repl-mode-silent-expected.txt
Simon Zünd 0aef7a8938 [insepctor] Add test for interaction of replMode and silent in evaluate
This CL adds a small inspector test to verify that Runtime.evaluate
with silent on/off can be interleaved while replMode is true for all
evaluations.

This is to check that the interaction between console and live
expressions works as expected when the user enables
"Pause on exceptions".

R=bmeurer@chromium.org

Bug: chromium:1335439
Change-Id: Iebd3f9f207312dc6dcd3d0b9a8483ef09608528f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3822685
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Simon Zünd <szuend@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82337}
2022-08-10 11:34:34 +00:00

27 lines
651 B
Plaintext

Tests that Runtime.evaluate works with REPL mode in silent
Paused because of 'promiseRejection' at
#loudReject1('Rejecting loud promise 1')
{
id : <messageId>
result : {
exceptionDetails : {
columnNumber : 0
exception : {
type : string
value : Rejecting silent promise
}
exceptionId : <exceptionId>
lineNumber : 0
text : Uncaught
}
result : {
type : string
value : Rejecting silent promise
}
}
}
Paused because of 'promiseRejection' at
#loudReject2('Rejecting loud promise 2')