[Phase 2 & Phase 3] The click and impressions telemetry are not registered if the "show search suggestions ahead of history" option is unchecked
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | verified |
People
(Reporter: cmuntean, Assigned: adw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
[Notes]:
- Also the following error is displayed in browser console after clicking a QuickSuggest result:
Last result is not a quick suggest
. Not sure if this error is related or we should log a separate bug for it. - The issue is not reproducible if the "Show search suggestions ahead of browsing history in address bar results" option is checked.
[Affected versions]:
- Firefox Beta 89.0b13;
- Nightly 90.0a1
[Affected Platforms]:
- Windows 10 x64;
- macOS 10.15.7;
- Linux Mint 20 x64;
[Prerequisites]:
- Have the latest Firefox Nightly installed.
- Have the browser console opened.
- Have the following prefs set:
browser.urlbar.quicksuggest.enabled
totrue
.browser.urlbar.experimental.firefoxSuggestLabels.enabled
totrue
.browser.urlbar.quicksuggest.showedOnboardingDialog
totrue
.browser.startup.upgradeDialog.version
to89
.browser.ping-centre.log
totrue
.
[Steps to reproduce]:
- Open the Firefox browser with the profile from prerequisites.
- Navigate to "about:preferences#search" page.
- Uncheck the "Show search suggestions ahead of browsing history in address bar results" option.
- Type "nike" in the Awesomebar.
- Click the Nike - Sponsored result.
- Navigate to "about:telemetry#keyed-scalars-tab" page and search for "contextual.services.quicksuggest" keyed scalars.
- Observe telemetry registered in the browser console.
[Expected result]:
Step 6: The "contextual.services.quicksuggest.impressions" and "contextual.services.quicksuggest.click" telemetry are correctly registered after following the Step 5.
Step 7: The (contextual-services) telemetry are correctly registered for the impressions and click after following the step 5.
[Actual result]:
Step 6: The "contextual.services.quicksuggest.impressions" and "contextual.services.quicksuggest.click" telemetry are NOT registered.
Step 7: The (contextual-services) telemetry are NOT registered for the impressions and click.
[Additional Notes]:
- Attached a screen recording of the issue.
Comment 1•3 years ago
|
||
I can reproduce this in the latest Nightly build. Seeing this error logged in the browser console:
Last result is not a quick suggest UrlbarProviderQuickSuggest.jsm:197
onEngagement resource:///modules/UrlbarProviderQuickSuggest.jsm:197
tryMethod resource:///modules/UrlbarUtils.jsm:1626
notifyEngagementChange resource:///modules/UrlbarProvidersManager.jsm:303
_internalRecord resource:///modules/UrlbarController.jsm:870
record resource:///modules/UrlbarController.jsm:779
pickResult resource:///modules/UrlbarInput.jsm:982
pickElement resource:///modules/UrlbarInput.jsm:681
handleNavigation resource:///modules/UrlbarInput.jsm:514
handleCommand resource:///modules/UrlbarInput.jsm:468
handleKeyNavigation resource:///modules/UrlbarController.jsm:316
_on_keydown resource:///modules/UrlbarInput.jsm:3199
maybeDeferEvent resource:///modules/UrlbarEventBufferer.jsm:154
_on_keydown resource:///modules/UrlbarInput.jsm:3198
handleEvent resource:///modules/UrlbarInput.jsm:432
Looks like this issue was caused by a program error.
Assignee | ||
Comment 2•3 years ago
|
||
Thanks Cosmin. This was broken by bug 1709992. The quick suggest result isn't always last anymore, like this logic assumes. I should have updated it but I didn't.
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54d43c856c5b Don't assume the quick suggest result is last when recording telemetry. r=daleharvey
Comment 7•3 years ago
|
||
bugherder |
Comment 8•3 years ago
|
||
:adw - Thanks for fixing this up!
I've confirmed with Natalie that we're not going to roll out phase 3 in Fx 89. Also, we would only enroll users who are using the default pref in phase 2, so we don't need to uplift this in 89 beta.
Updated•3 years ago
|
Reporter | ||
Comment 9•3 years ago
|
||
I have verified this issue on the latest Nightly 90.0a1 build (Build ID: 20210519083222) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.
- The click and impressions telemetry pings are registered if the "show search suggestions ahead of history" option is unchecked.
Updated•3 years ago
|
Description
•