summaryrefslogtreecommitdiffstats
path: root/toolkit/components/backgroundhangmonitor
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/backgroundhangmonitor
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/backgroundhangmonitor')
-rw-r--r--toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs2
-rw-r--r--toolkit/components/backgroundhangmonitor/nsIHangDetails.idl2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs b/toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs
index 98c1274b5c..c675526559 100644
--- a/toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs
+++ b/toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs
@@ -142,7 +142,7 @@ BHRTelemetryService.prototype = Object.freeze({
this.submit();
},
- observe(aSubject, aTopic, aData) {
+ observe(aSubject, aTopic) {
switch (aTopic) {
case "profile-after-change":
this.resetPayload();
diff --git a/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl b/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
index f9c6ba2de0..df5fcebea8 100644
--- a/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
+++ b/toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
@@ -24,7 +24,7 @@ interface nsIHangDetails : nsISupports
* The hang was persisted to disk as a permahang, so we can clear the
* permahang file once we submit this.
*/
- readonly attribute bool wasPersisted;
+ readonly attribute boolean wasPersisted;
/**
* The detected duration of the hang in milliseconds.