187 lines
4.8 KiB
Plaintext
187 lines
4.8 KiB
Plaintext
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 DOM breakpoints.
|
|
|
|
|
|
== Running test suite: DOMBreakpoint.AttributeModified
|
|
-- Running test case: DOMBreakpoint.AttributeModified.BreakpointEnabled
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
PAUSED:
|
|
PASS: Pause reason should be DOM.
|
|
PASS: Pause type should be 'attribute-modified'.
|
|
PASS: Pause nodeId should be expected value.
|
|
CALL STACK:
|
|
0: [F] testAttributeModified
|
|
1: [P] Global Code
|
|
-- Running test teardown.
|
|
|
|
-- Running test case: DOMBreakpoint.AttributeModified.BreakpointDisabled
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
Disabling breakpoint...
|
|
Triggering breakpoint...
|
|
PASS: Should not pause for disabled breakpoint.
|
|
-- Running test teardown.
|
|
|
|
-- Running test case: DOMBreakpoint.AttributeModified.DebuggerDisabled
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
Disabling all breakpoints...
|
|
Triggering breakpoint...
|
|
Enabling all breakpoints...
|
|
PASS: Should not pause when all breakpoints disabled.
|
|
-- Running test teardown.
|
|
|
|
-- Running test case: DOMBreakpoint.AttributeModified.RemoveBreakpoint
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
Removing breakpoint...
|
|
Triggering breakpoint...
|
|
PASS: Should not pause for removed breakpoint.
|
|
-- Running test teardown.
|
|
|
|
-- Running test case: DOMBreakpoint.AttributeModified.Options.Condition
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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: DOMBreakpoint.AttributeModified.Options.Condition.ConsoleCommandLineAPI
|
|
Adding saved console value 'false'...
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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: DOMBreakpoint.AttributeModified.Options.IgnoreCount
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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: DOMBreakpoint.AttributeModified.Options.Action.Log
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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: DOMBreakpoint.AttributeModified.Options.Actions.Evaluate
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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: DOMBreakpoint.AttributeModified.Options.Actions.Evaluate.ConsoleCommandLineAPI
|
|
Adding saved console value '1'...
|
|
Adding "attribute-modified:1,HTML,1,BODY,1,DIV,0,DIV" DOM Breakpoint...
|
|
|
|
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.
|
|
|