diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /browser/actors/SearchSERPTelemetryChild.sys.mjs | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | browser/actors/SearchSERPTelemetryChild.sys.mjs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/browser/actors/SearchSERPTelemetryChild.sys.mjs b/browser/actors/SearchSERPTelemetryChild.sys.mjs index e845f589b0..b2b78941ad 100644 --- a/browser/actors/SearchSERPTelemetryChild.sys.mjs +++ b/browser/actors/SearchSERPTelemetryChild.sys.mjs @@ -13,13 +13,6 @@ ChromeUtils.defineESModuleGetters(lazy, { XPCOMUtils.defineLazyPreferenceGetter( lazy, - "serpEventsEnabled", - "browser.search.serpEventTelemetry.enabled", - true -); - -XPCOMUtils.defineLazyPreferenceGetter( - lazy, "serpEventTelemetryCategorization", "browser.search.serpEventTelemetryCategorization.enabled", false @@ -1396,7 +1389,6 @@ export class SearchSERPTelemetryChild extends JSWindowActorChild { } if ( - lazy.serpEventsEnabled && providerInfo.components?.length && (eventType == "load" || eventType == "pageshow") ) { @@ -1524,17 +1516,13 @@ export class SearchSERPTelemetryChild extends JSWindowActorChild { // so that we remain consistent with the *.in-content:sap* count for the // SEARCH_COUNTS histogram. if (event.persisted) { + this.#checkForPageImpressionComponents(); this.#check(event.type); - if (lazy.serpEventsEnabled) { - this.#checkForPageImpressionComponents(); - } } break; } case "DOMContentLoaded": { - if (lazy.serpEventsEnabled) { - this.#checkForPageImpressionComponents(); - } + this.#checkForPageImpressionComponents(); this.#check(event.type); break; } |