From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- toolkit/components/backgroundhangmonitor/BHRTelemetryService.sys.mjs | 2 +- toolkit/components/backgroundhangmonitor/nsIHangDetails.idl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/components/backgroundhangmonitor') 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. -- cgit v1.2.3