From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- testing/mochitest/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/mochitest/api.js') diff --git a/testing/mochitest/api.js b/testing/mochitest/api.js index bd578f03b8..fa4422f290 100644 --- a/testing/mochitest/api.js +++ b/testing/mochitest/api.js @@ -26,7 +26,7 @@ const windowTracker = { Services.obs.addObserver(this, "chrome-document-global-created"); }, - async observe(window, topic, data) { + async observe(window, topic) { if (topic === "chrome-document-global-created") { await new Promise(resolve => window.addEventListener("DOMContentLoaded", resolve, { once: true }) -- cgit v1.2.3