summaryrefslogtreecommitdiffstats
path: root/toolkit/components/crashmonitor
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /toolkit/components/crashmonitor
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/crashmonitor')
-rw-r--r--toolkit/components/crashmonitor/CrashMonitor.sys.mjs2
-rw-r--r--toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs2
-rw-r--r--toolkit/components/crashmonitor/test/unit/test_register.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/crashmonitor/CrashMonitor.sys.mjs b/toolkit/components/crashmonitor/CrashMonitor.sys.mjs
index c4dfdcbd83..a23446f45c 100644
--- a/toolkit/components/crashmonitor/CrashMonitor.sys.mjs
+++ b/toolkit/components/crashmonitor/CrashMonitor.sys.mjs
@@ -189,7 +189,7 @@ export var CrashMonitor = {
*
* Update checkpoint file for every new notification received.
*/
- observe(aSubject, aTopic, aData) {
+ observe(aSubject, aTopic) {
this.writeCheckpoint(aTopic);
if (
diff --git a/toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs b/toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs
index 0e91fc0859..008b0e7bc8 100644
--- a/toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs
+++ b/toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs
@@ -14,7 +14,7 @@ CrashMonitor.prototype = {
QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
- observe(aSubject, aTopic, aData) {
+ observe(aSubject, aTopic) {
switch (aTopic) {
case "profile-after-change":
MonitorAPI.init();
diff --git a/toolkit/components/crashmonitor/test/unit/test_register.js b/toolkit/components/crashmonitor/test/unit/test_register.js
index 1957af4ee1..22d3721df8 100644
--- a/toolkit/components/crashmonitor/test/unit/test_register.js
+++ b/toolkit/components/crashmonitor/test/unit/test_register.js
@@ -4,7 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
- * Test that CrashMonitor.jsm is correctly loaded from XPCOM component
+ * Test that CrashMonitor.sys.mjs is correctly loaded from XPCOM component
*/
add_task(function test_register() {
let cm = Cc["@mozilla.org/toolkit/crashmonitor;1"].createInstance(