chore: drop Firefox workaround (#7226)

The Firefox issue is already resolved.
This commit is contained in:
Kiko Beats 2021-05-12 13:11:31 +02:00 committed by GitHub
parent 778ac92469
commit 4959d46b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {