Bug 1842866 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

**Notes**
* Intermittent to a degree; error does  not necessarily appear on a first try. 
* Does not reproduce with Google set as the default search engine. 

**Found in**
* 116.0b3;

**Affected versions**
* 117.0a1;
* 116.0b3;

**Tested platforms**
* macOS 12;
* Windows 10;
* Ubuntu 22;


**Affected platforms**
* macOS 12;
* Windows 10;
* Ubuntu 22;



**Unaffected platforms**
* N/A; 

**Preconditions** 
* browser.search.log = true
* browser.search.serpEventTelemetry.enabled = true
* Have BING as the default search engine.



**Steps to reproduce**
1. Launch Firefox with the profile from preconditions.
2. Open the browser console.
3. Focus the address bar and perform a search that generates ads (e.g. buy shoes, buy phone).
4. Once the SERP is loaded, click on an ad link. 
5. Check the browser console.

**Expected result**
* “Click” event is recorded, no errors are shown in the browser console. 

**Actual result**
* ‘Click’ event is recorded, but the following error is displayed along with the rest of the pings:
> TypeError: telemetryState is undefined SearchSERPTelemetry.sys.mjs:1148:9
    _reportPageWithAds resource:///modules/SearchSERPTelemetry.sys.mjs:1148
    reportPageWithAds resource:///modules/SearchSERPTelemetry.sys.mjs:323
    receiveMessage resource:///actors/SearchSERPTelemetryParent.sys.mjs:17

**Regression range**
* Doesn’t seem to be a regression.
**Notes**
* Intermittent to a degree; error does  not necessarily appear on a first try. 
* Does not reproduce with Google set as the default search engine. 

**Found in**
* 116.0b3;

**Affected versions**
* 117.0a1;
* 116.0b3;

**Tested platforms**
* macOS 12;
* Windows 10;
* Ubuntu 22;


**Affected platforms**
* macOS 12;
* Windows 10;
* Ubuntu 22;



**Unaffected platforms**
* N/A; 

**Preconditions** 
* browser.search.log = true
* browser.search.serpEventTelemetry.enabled = true
* Have BING as the default search engine.



**Steps to reproduce**
1. Launch Firefox with the profile from preconditions.
2. Open the browser console.
3. Focus the address bar and perform a search that generates ads (e.g. buy shoes, buy phone).
4. Once the SERP is loaded, click on an ad link. 
5. Check the browser console.

**Expected result**
* “Click” event is recorded, no errors are shown in the browser console. 

**Actual result**
* ‘Click’ event is recorded, but the following error is displayed along with the rest of the pings:
> TypeError: telemetryState is undefined SearchSERPTelemetry.sys.mjs:1148:9
    _reportPageWithAds resource:///modules/SearchSERPTelemetry.sys.mjs:1148
    reportPageWithAds resource:///modules/SearchSERPTelemetry.sys.mjs:323
    receiveMessage resource:///actors/SearchSERPTelemetryParent.sys.mjs:17

**Regression range**
* Will look for one as soon as possible.

Back to Bug 1842866 Comment 0