diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/crashmonitor | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/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.mjs | 2 | ||||
-rw-r--r-- | toolkit/components/crashmonitor/nsCrashMonitor.sys.mjs | 2 | ||||
-rw-r--r-- | toolkit/components/crashmonitor/test/unit/test_register.js | 2 |
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( |