Lines Matching refs:notification
230 const message = `Timed out waiting for matching notification (${desc})`;
236 function matchMethod(notification) {
237 return notification.method === methodOrPredicate;
241 let notification = null;
244 notification = this._unprocessedNotifications.shift();
246 notification = await new Promise(
249 } while (!predicate(notification));
250 return notification;
269 (notification) =>
270 this._isBreakOnLineNotification(notification, line, url),
278 _matchesConsoleOutputNotification(notification, type, values) {
281 if (notification.method === 'Runtime.consoleAPICalled') {
282 const params = notification.params;
297 (notification) => this._matchesConsoleOutputNotification(notification,
305 await this.waitForNotification((notification) => {
306 return notification.method === 'Runtime.executionContextDestroyed' &&
307 notification.params.executionContextId === 1;