| 251 | } |
| 252 | |
| 253 | _isBreakOnLineNotification(message, line, expectedScriptPath) { |
| 254 | if (message.method === 'Debugger.paused') { |
| 255 | const callFrame = message.params.callFrames[0]; |
| 256 | const location = callFrame.location; |
| 257 | const scriptPath = this._scriptsIdsByUrl.get(location.scriptId); |
| 258 | assert.strictEqual(decodeURIComponent(scriptPath), |
| 259 | decodeURIComponent(expectedScriptPath), |
| 260 | `${scriptPath} !== ${expectedScriptPath}`); |
| 261 | assert.strictEqual(location.lineNumber, line); |
| 262 | return true; |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | waitForBreakOnLine(line, url) { |
| 267 | return this |