PR-URL: https://github.com/nodejs/node/pull/58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
191 lines
3.4 KiB
Plaintext
191 lines
3.4 KiB
Plaintext
Checks if catch prediction works on new `using` and `await using` syntax.
|
|
|
|
Running test: testPauseOnInitialState
|
|
|
|
evaluate 'disposalUncaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtSuppressedError()'..
|
|
|
|
evaluate 'disposalCaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtSuppressedError()'..
|
|
|
|
Running test: testPauseOnExceptionOff
|
|
|
|
evaluate 'disposalUncaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtSuppressedError()'..
|
|
|
|
evaluate 'disposalCaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtSuppressedError()'..
|
|
|
|
Running test: testBreakOnCaughtException
|
|
|
|
evaluate 'disposalUncaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalUncaughtSuppressedError()'..
|
|
|
|
evaluate 'disposalCaughtUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 5
|
|
type : number
|
|
uncaught : false
|
|
value : 5
|
|
}
|
|
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 6
|
|
type : number
|
|
uncaught : false
|
|
value : 6
|
|
}
|
|
|
|
evaluate 'disposalCaughtSuppressedError()'..
|
|
paused on exception:
|
|
{
|
|
description : 8
|
|
type : number
|
|
uncaught : false
|
|
value : 8
|
|
}
|
|
paused on exception:
|
|
{
|
|
description : 7
|
|
type : number
|
|
uncaught : false
|
|
value : 7
|
|
}
|
|
|
|
Running test: testBreakOnUncaughtException
|
|
|
|
evaluate 'disposalUncaughtUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 1
|
|
type : number
|
|
uncaught : true
|
|
value : 1
|
|
}
|
|
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 2
|
|
type : number
|
|
uncaught : true
|
|
value : 2
|
|
}
|
|
|
|
evaluate 'disposalUncaughtSuppressedError()'..
|
|
paused on exception:
|
|
{
|
|
description : 4
|
|
type : number
|
|
uncaught : true
|
|
value : 4
|
|
}
|
|
paused on exception:
|
|
{
|
|
description : 3
|
|
type : number
|
|
uncaught : true
|
|
value : 3
|
|
}
|
|
|
|
evaluate 'disposalCaughtUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'..
|
|
|
|
evaluate 'disposalCaughtSuppressedError()'..
|
|
|
|
Running test: testBreakOnAll
|
|
|
|
evaluate 'disposalUncaughtUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 1
|
|
type : number
|
|
uncaught : true
|
|
value : 1
|
|
}
|
|
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 2
|
|
type : number
|
|
uncaught : true
|
|
value : 2
|
|
}
|
|
|
|
evaluate 'disposalUncaughtSuppressedError()'..
|
|
paused on exception:
|
|
{
|
|
description : 4
|
|
type : number
|
|
uncaught : true
|
|
value : 4
|
|
}
|
|
paused on exception:
|
|
{
|
|
description : 3
|
|
type : number
|
|
uncaught : true
|
|
value : 3
|
|
}
|
|
|
|
evaluate 'disposalCaughtUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 5
|
|
type : number
|
|
uncaught : false
|
|
value : 5
|
|
}
|
|
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'..
|
|
paused on exception:
|
|
{
|
|
description : 6
|
|
type : number
|
|
uncaught : false
|
|
value : 6
|
|
}
|
|
|
|
evaluate 'disposalCaughtSuppressedError()'..
|
|
paused on exception:
|
|
{
|
|
description : 8
|
|
type : number
|
|
uncaught : false
|
|
value : 8
|
|
}
|
|
paused on exception:
|
|
{
|
|
description : 7
|
|
type : number
|
|
uncaught : false
|
|
value : 7
|
|
}
|
|
|
|
Running test: testBreakOnExceptionInSilentMode
|
|
evaluate 'disposalUncaughtUsingSyntax()'
|
|
evaluate 'disposalUncaughtAwaitUsingSyntax()'
|
|
evaluate 'disposalUncaughtSuppressedError()'
|
|
evaluate 'disposalCaughtUsingSyntax()'
|
|
evaluate 'disposalCaughtAwaitUsingSyntax()'
|
|
evaluate 'disposalCaughtSuppressedError()' |