Tests that debugger will step through Promise handlers while not stepping into V8 internal scripts.
Set timer for test function.
Call stack:
0) p1 (debugger-step-through-promises.js:21)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:18)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Executing StepInto...
Call stack:
0) p1 (debugger-step-through-promises.js:22)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:18)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Executing StepInto...
Call stack:
0) p2 (debugger-step-through-promises.js:26)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:23)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Executing StepOver...
Call stack:
0) p2 (debugger-step-through-promises.js:26)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:23)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Executing StepOver...
Call stack:
0) p3 (debugger-step-through-promises.js:31)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:28)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>
Executing StepOver...
Call stack:
0) p3 (debugger-step-through-promises.js:31)
[Promise.then]
0) testFunction (debugger-step-through-promises.js:28)
[setTimeout]
0) scheduleTestFunction <omitted>
<... skipped remaining frames ...>