Closed
Bug 1681382
Opened 5 years ago
Closed 5 years ago
Simplify calls into BrowserSearchTelemetry
Categories
(Firefox :: Search, task, P2)
Firefox
Search
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(2 files)
As part of the general search telemetry cleanup, I want to simplify some of the calls into the new BrowserSearchTelemetry
(created in bug 1680735):
- There is a
recordSearchSelectedResultMethod
and arecordUrlbarSelectedResultMethod
, both of these forward into the same internal function. We can simply pass a parameter instead and save the complexity. recordSearch
is only called fromBrowserSearch
(in browser.js), the two functions there are basically forwarders. We should just call directly toBrowserSearchTelemetry
.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D99206
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a9df61e2ab85
Merge BrowserSearchTelemetry.record{Search|Urlbar}SelectedResultMethod functions into one. r=daleharvey
https://hg.mozilla.org/integration/autoland/rev/66a4a0e2a9b1
Drop BrowserSearch.record*SearchInTelemetry and call BrowserSearchTelemetry direct. r=daleharvey
![]() |
||
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a9df61e2ab85
https://hg.mozilla.org/mozilla-central/rev/66a4a0e2a9b1
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•