diff options
Diffstat (limited to 'toolkit/components/crashes/tests')
3 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/crashes/tests/xpcshell/test_crash_manager.js b/toolkit/components/crashes/tests/xpcshell/test_crash_manager.js index 2f77ea5105..e776b8f87a 100644 --- a/toolkit/components/crashes/tests/xpcshell/test_crash_manager.js +++ b/toolkit/components/crashes/tests/xpcshell/test_crash_manager.js @@ -824,7 +824,7 @@ add_task(async function test_glean_crash_ping() { // Test with additional fields submitted = false; - GleanPings.crash.testBeforeNextSubmit(reason => { + GleanPings.crash.testBeforeNextSubmit(() => { submitted = true; const MINUTES = new Date(DUMMY_DATE_2); MINUTES.setSeconds(0); diff --git a/toolkit/components/crashes/tests/xpcshell/test_crash_service.js b/toolkit/components/crashes/tests/xpcshell/test_crash_service.js index 63ff3343d6..6648230785 100644 --- a/toolkit/components/crashes/tests/xpcshell/test_crash_service.js +++ b/toolkit/components/crashes/tests/xpcshell/test_crash_service.js @@ -170,7 +170,7 @@ add_task(async function test_addCrash_quitting() { await setup(firstCrashId); let minidumpAnalyzerKilledPromise = new Promise((resolve, reject) => { - Services.obs.addObserver((subject, topic, data) => { + Services.obs.addObserver((subject, topic) => { if (topic === "test-minidump-analyzer-killed") { resolve(); } diff --git a/toolkit/components/crashes/tests/xpcshell/test_crash_store.js b/toolkit/components/crashes/tests/xpcshell/test_crash_store.js index 515aec86a0..3690c13922 100644 --- a/toolkit/components/crashes/tests/xpcshell/test_crash_store.js +++ b/toolkit/components/crashes/tests/xpcshell/test_crash_store.js @@ -2,7 +2,7 @@ * http://creativecommons.org/publicdomain/zero/1.0/ */ /* - * This file tests the CrashStore type in CrashManager.jsm. + * This file tests the CrashStore type in CrashManager.sys.mjs. */ "use strict"; @@ -257,7 +257,7 @@ add_task(async function test_add_mixed_types() { allAdd && s.addCrash(ptName, CRASH_TYPE_CRASH, ptName + "crash", new Date()); }, - (_, ptName) => { + _ => { allAdd = allAdd && s.addCrash( |