From 26e159243e4a9a21b259fa08b1ba3f62dbfb5a52 Mon Sep 17 00:00:00 2001 From: James Teow Date: Fri, 26 May 2023 05:46:01 +0000 Subject: [PATCH] Bug 1835125 - Check for missing components instead of providerInfo - r=scunnane Differential Revision: https://phabricator.services.mozilla.com/D179125 --- browser/actors/SearchSERPTelemetryChild.sys.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/actors/SearchSERPTelemetryChild.sys.mjs b/browser/actors/SearchSERPTelemetryChild.sys.mjs index 665ea28588e1..5193c685e8c2 100644 --- a/browser/actors/SearchSERPTelemetryChild.sys.mjs +++ b/browser/actors/SearchSERPTelemetryChild.sys.mjs @@ -915,7 +915,7 @@ export class SearchSERPTelemetryChild extends JSWindowActorChild { if ( lazy.serpEventsEnabled && - providerInfo?.components.length && + providerInfo.components?.length && (eventType == "load" || eventType == "pageshow") ) { searchAdImpression.pageUrl = new URL(url);