summaryrefslogtreecommitdiffstats
path: root/toolkit/components/crashmonitor
diff options
context:
space:
mode:
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(