blob: 3f8beff7946894c6e912b2cd4745fd777360dbea [file] [log] [blame]
CONSOLE MESSAGE: BREAKPOINT ACTION LOG 1
CONSOLE MESSAGE: BREAKPOINT ACTION LOG 2
CONSOLE MESSAGE: BREAKPOINT ACTION LOG 3
CONSOLE MESSAGE: BREAKPOINT ACTION LOG 4
Tests for Debugger.setPauseOnMicrotasks command.
== Running test suite: Debugger.setPauseOnMicrotasks
-- Running test case: Debugger.setPauseOnMicrotasks.Disabled.queueMicrotask
PASS: Should not have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Enabled.queueMicrotask
PASS: Should have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Disabled.Promise.resolve
PASS: Should not have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Enabled.Promise.resolve
PASS: Should have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Disabled.Promise.reject
PASS: Should not have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Enabled.Promise.reject
PASS: Should have paused.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.Condition
Setting condition to 'false'...
Triggering breakpoint...
PASS: Should not pause.
Triggering breakpoint...
PASS: Should not pause.
Setting condition to 'true'...
Triggering breakpoint...
PASS: Should pause.
Triggering breakpoint...
PASS: Should pause.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.Condition.ConsoleCommandLineAPI
Adding saved console value 'false'...
Setting condition to saved console value...
Triggering breakpoint...
PASS: Should not pause.
Triggering breakpoint...
PASS: Should not pause.
Adding saved console value 'true'...
Setting condition to saved console value...
Triggering breakpoint...
PASS: Should pause.
Triggering breakpoint...
PASS: Should pause.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.IgnoreCount
Setting ignoreCount to '2'...
Triggering breakpoint...
PASS: Should not pause.
Triggering breakpoint...
PASS: Should not pause.
Triggering breakpoint...
PASS: Should pause.
Triggering breakpoint...
PASS: Should pause.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.Action.Log
Adding log action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Editing log action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Editing log action...
Enabling auto-continue...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.
Editing log action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.Actions.Evaluate
Adding evaluate action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Editing evaluate action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Editing evaluate action...
Enabling auto-continue...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.
Editing evaluate action...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.
-- Running test case: Debugger.setPauseOnMicrotasks.Options.Actions.Evaluate.ConsoleCommandLineAPI
Adding saved console value '1'...
Adding evaluate action using saved console value...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Adding saved console value '2'...
Editing evaluate action using saved console value...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should pause.
Adding saved console value '3'...
Editing evaluate action using saved console value...
Enabling auto-continue...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.
Adding saved console value '4'...
Editing evaluate action using saved console value...
Triggering breakpoint...
PASS: Should execute breakpoint action.
PASS: Should not pause.