(entryExpression, actions)
| 96 | ]; |
| 97 | |
| 98 | function test(entryExpression, actions) { |
| 99 | Protocol.Debugger.onPaused(message => { |
| 100 | var action = actions.shift() || 'resume'; |
| 101 | if (action === 'print') { |
| 102 | session.logCallFrames(message.params.callFrames); |
| 103 | InspectorTest.log(''); |
| 104 | action = actions.shift() || 'resume'; |
| 105 | } |
| 106 | if (action) InspectorTest.log(`Executing ${action}...`); |
| 107 | Protocol.Debugger[action](); |
| 108 | }); |
| 109 | return Protocol.Runtime.evaluate( |
| 110 | {expression: entryExpression + '//# sourceURL=expr.js'}); |
| 111 | } |
no test coverage detected
searching dependent graphs…