Closed
Bug 1921072
Opened 4 months ago
Closed 4 months ago
Fix impression telemetry warning for restrict keywords and token alias engines results
Categories
(Firefox :: Address Bar, task, P2)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
133 Branch
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: mcheang, Assigned: mcheang)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
After Bug 1917992 landed, I noticed an warning:
0:10.17 INFO Console message: [JavaScript Warning:
"urlbar.impression.restrict_keyword_bookmarks - Unknown scalar."]
I need to add impression telemetry for restrict keywords to fix the warning.
Assignee | ||
Comment 1•4 months ago
|
||
After discussing with Marco, we decided not to add urlbar.impression.restrict_keyword_bookmarks
. The warning also occurred for urlbar.impression.searchengines
because those were not being recorded either.
The urlbar.impression.*
code is designed to record URL impressions. We chose not to add categories like searchengines
or restrict_keyword_*
because these are not URL results.
Solution
The fix for this patch is to add an extra conditional check:
- If the result is a URL, we record a
urlbar.impression.*
. - If the result is not a URL, we do not record it.
Assignee | ||
Updated•4 months ago
|
Summary: Add impression telemetry for restrict keywords → Fix impression telemetry warning for restrict keywords and token alias engines results
Assignee | ||
Comment 2•4 months ago
|
||
Pushed by mcheang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d593d8df4b2
Fix impression telemetry warning for restrict keywords and token alias engines results. r=mak,urlbar-reviewers
Comment 4•4 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•