diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /toolkit/components/telemetry/app | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/telemetry/app')
5 files changed, 8 insertions, 9 deletions
diff --git a/toolkit/components/telemetry/app/TelemetryControllerContent.sys.mjs b/toolkit/components/telemetry/app/TelemetryControllerContent.sys.mjs index e5c11d5d28..e4a06a8eea 100644 --- a/toolkit/components/telemetry/app/TelemetryControllerContent.sys.mjs +++ b/toolkit/components/telemetry/app/TelemetryControllerContent.sys.mjs @@ -67,7 +67,7 @@ var Impl = { /** * This observer drives telemetry. */ - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { if (aTopic == "content-process-ready-for-script") { TelemetryControllerBase.configureLogging(); diff --git a/toolkit/components/telemetry/app/TelemetryEnvironment.sys.mjs b/toolkit/components/telemetry/app/TelemetryEnvironment.sys.mjs index 302a4040b3..76bc2579eb 100644 --- a/toolkit/components/telemetry/app/TelemetryEnvironment.sys.mjs +++ b/toolkit/components/telemetry/app/TelemetryEnvironment.sys.mjs @@ -674,7 +674,7 @@ EnvironmentAddonBuilder.prototype = { }, // nsIObserver - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { this._environment._log.trace("observe - Topic " + aTopic); if (aTopic == GMP_PROVIDER_REGISTERED_TOPIC) { Services.obs.removeObserver(this, GMP_PROVIDER_REGISTERED_TOPIC); diff --git a/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs b/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs index 6fe155a2fa..d49dae95f9 100644 --- a/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs +++ b/toolkit/components/telemetry/app/TelemetryReportingPolicy.sys.mjs @@ -514,8 +514,7 @@ var TelemetryReportingPolicyImpl = { aBrowser, aWebProgress, aRequest, - aStateFlags, - aStatus + aStateFlags ) => { if ( aWebProgress.isTopLevel && @@ -555,7 +554,7 @@ var TelemetryReportingPolicyImpl = { return true; }, - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { if (aTopic != "sessionstore-windows-restored") { return; } diff --git a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs index 2fc94dc8fc..539447a8ca 100644 --- a/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs +++ b/toolkit/components/telemetry/app/TelemetryScheduler.sys.mjs @@ -248,7 +248,7 @@ export var TelemetryScheduler = { /** * The notifications handler. */ - observe(aSubject, aTopic, aData) { + observe(aSubject, aTopic) { this._log.trace("observe - aTopic: " + aTopic); switch (aTopic) { case "idle": diff --git a/toolkit/components/telemetry/app/TelemetryStorage.sys.mjs b/toolkit/components/telemetry/app/TelemetryStorage.sys.mjs index 062a050a9f..ef7ff88bb2 100644 --- a/toolkit/components/telemetry/app/TelemetryStorage.sys.mjs +++ b/toolkit/components/telemetry/app/TelemetryStorage.sys.mjs @@ -664,10 +664,10 @@ var TelemetryStorageImpl = { let promise = this._saveArchivedPingTask(ping); this._activelyArchiving.add(promise); promise.then( - r => { + () => { this._activelyArchiving.delete(promise); }, - e => { + () => { this._activelyArchiving.delete(promise); } ); @@ -1047,7 +1047,7 @@ var TelemetryStorageImpl = { ping.id, ping.timestampCreated, ping.type - ).catch(e => + ).catch(() => this._log.error( "_enforceArchiveQuota - failed to remove archived ping" + ping.id ) |