Closed Bug 1888627 Opened 2 years ago Closed 2 years ago

Interventions invoke onEngagement twice

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

Clicking on an intervention button sends one engagement for the button, then a second one when the panel is closed. The panel closes immediately anyway.
This works fine with some of the other buttons because we handle command events specially.
Though, we could just ensure a session can only be recorded once, that will ensure once an engagement or abandonment happened, we are done.

If a provider onEngagement method causes the address bar panel to close when
a result is picked, we may record consecutive engagement and abandonment events
for the same search session.

Assignee: nobody → mak
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/5f34dc92a899 Avoid Address Bar engagement telemetry record() re-entrance. r=adw
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: