From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- devtools/shared/async-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools/shared/async-utils.js') diff --git a/devtools/shared/async-utils.js b/devtools/shared/async-utils.js index cb1fee1a4f..98e36eacb1 100644 --- a/devtools/shared/async-utils.js +++ b/devtools/shared/async-utils.js @@ -25,7 +25,7 @@ * happens */ exports.listenOnce = function listenOnce(element, event, useCapture) { - return new Promise(function (resolve, reject) { + return new Promise(function (resolve) { const onEvent = function (ev) { element.removeEventListener(event, onEvent, useCapture); resolve(ev); -- cgit v1.2.3