Closed
Bug 1880410
Opened 1 year ago
Closed 1 year ago
Cleanup parts of search telemetry
Categories
(Firefox :: Search, task, P2)
Firefox
Search
Tracking
()
RESOLVED
FIXED
125 Branch
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
There are a couple places in SearchTelemetry and SearchSERPTelemetryChild that could be improved without a change of functionality.
- Moving the explicit calls to remove event listeners in the
pagehideevent - Renaming some of the properties passed to the engagement report as
targetto better reflect how it'll be reported - Adding an observer of page actions so that tests can use them.
These changes alone shouldn't affect search telemetry, but will make it easier to do some other code refactoring.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Largely non-functional changes:
- The pagehide callback can live in the top level pagehide event.
- Moving the submitted check into the callback will make it easier to refactor
the helper that adds event listeners. - Changing the callbacks to use target as the name will make it easier to
remember that the target is potentially overwritable. - waitForPageWithAction can be used in future tests.
Depends on D202035
Pushed by jteow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9209f2fb0d6
Clean up parts of search telemetry - r=scunnane
Comment 3•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•