summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/ExtensionUtils.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/extensions/ExtensionUtils.sys.mjs')
-rw-r--r--toolkit/components/extensions/ExtensionUtils.sys.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/extensions/ExtensionUtils.sys.mjs b/toolkit/components/extensions/ExtensionUtils.sys.mjs
index cbdf900d14..45f22aa530 100644
--- a/toolkit/components/extensions/ExtensionUtils.sys.mjs
+++ b/toolkit/components/extensions/ExtensionUtils.sys.mjs
@@ -241,7 +241,7 @@ function promiseEvent(
element,
eventName,
useCapture = true,
- test = event => true
+ test = () => true
) {
return new Promise(resolve => {
function listener(event) {