From 4959d46b8adc7afbc6afd6d434524df1e349f1f4 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Wed, 12 May 2021 13:11:31 +0200 Subject: [PATCH] chore: drop Firefox workaround (#7226) The Firefox issue is already resolved. --- src/common/Connection.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/common/Connection.ts b/src/common/Connection.ts index 1a1179d4..9602a7f8 100644 --- a/src/common/Connection.ts +++ b/src/common/Connection.ts @@ -276,11 +276,7 @@ export class CDPSession extends EventEmitter { const id = this._connection._rawSend({ sessionId: this._sessionId, method, - /* TODO(jacktfranklin@): once this Firefox bug is solved - * we no longer need the `|| {}` check - * https://bugzilla.mozilla.org/show_bug.cgi?id=1631570 - */ - params: params || {}, + params, }); return new Promise((resolve, reject) => {