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 --- browser/components/preferences/tests/browser_fluent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'browser/components/preferences/tests/browser_fluent.js') diff --git a/browser/components/preferences/tests/browser_fluent.js b/browser/components/preferences/tests/browser_fluent.js index db2daecc4f..ae83abecf0 100644 --- a/browser/components/preferences/tests/browser_fluent.js +++ b/browser/components/preferences/tests/browser_fluent.js @@ -1,7 +1,7 @@ function whenMainPaneLoadedFinished() { - return new Promise(function (resolve, reject) { + return new Promise(function (resolve) { const topic = "main-pane-loaded"; - Services.obs.addObserver(function observer(aSubject) { + Services.obs.addObserver(function observer() { Services.obs.removeObserver(observer, topic); resolve(); }, topic); -- cgit v1.2.3