summaryrefslogtreecommitdiffstats
path: root/toolkit/components/backgroundhangmonitor
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/backgroundhangmonitor
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-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/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.