Open Bug 1851126 Opened 9 months ago Updated 9 months ago

New Glean Search Mode property is not correctly registered for impression events

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 119
Desktop
All
defect

Tracking

()

Tracking Status
firefox119 --- affected

People

(Reporter: cbaica, Unassigned)

References

Details

(Whiteboard: [sng])

Found in

  • Fx 119.0a1

Affected versions

  • Fx 119.0a1

Affected platforms

  • all

Preconditions
Have devtools.chrome.enabled set to true.
Run the following snippet in the browser console:
Services.fog.setMetricsFeatureConfig( JSON.stringify({ "urlbar.abandonment": true, "urlbar.engagement": true, "urlbar.impression": true, }) );

Steps to reproduce

  1. Launch Firefox.
  2. Click the address bar, then click a search shortcut of an engine and wait 1-2 seconds.
  3. Open the browser console and submit the following command:
    Glean.urlbar.impression.testGetValue()
  4. Inspect the last available impression ping and check the search_mode field value.

Expected result

  • The search_mode field lists the correct value of the type of search shortcut that was clicked (search_engine, tabs, history, bookmarks)

Actual result

  • Field value is empty. ("")

Regression range

  • Not a regression.

Additional notes

  • Related to bug 1805717.
  • The abandonment and engagement events have the search_mode property with correct values.
Has STR: --- → yes

:cbaica, if you think that's a regression, could you try to find a regression range using for example mozregression?

Priority: -- → P3
Whiteboard: [sng]
You need to log in before you can comment on or make changes to this bug.