summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/browser/datetime/head.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests/browser/datetime/head.js')
-rw-r--r--toolkit/content/tests/browser/datetime/head.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/content/tests/browser/datetime/head.js b/toolkit/content/tests/browser/datetime/head.js
index 46e2c78af5..532f7743b2 100644
--- a/toolkit/content/tests/browser/datetime/head.js
+++ b/toolkit/content/tests/browser/datetime/head.js
@@ -69,7 +69,7 @@ class DateTimeTestHelper {
[selector],
async selector => {
let input = content.document.querySelector(selector);
- await ContentTaskUtils.waitForEvent(input, "change", false, e => {
+ await ContentTaskUtils.waitForEvent(input, "change", false, () => {
ok(
content.window.windowUtils.isHandlingUserInput,
"isHandlingUserInput should be true"