Closed Bug 2075003 Opened 2 months ago Closed 2 months ago

Document why the in-page search bar's engagement survives a same-tab load

Categories

(Firefox :: Address Bar, task)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

(Whiteboard: [sng][mcab-hnt-followon])

Attachments

(1 external file)

The urlbar docs do not say why an engagement from the <moz-urlbar> on about:newtab is not lost when the picked result replaces the page. record() runs before #loadURL, so RecordEngagement goes out ahead of the LoadURL query on the same ordered PWindowGlobal stream, and didDestroy cannot overtake it. A session that ends without a pick is covered by the blur that nsFocusManager::WindowHidden dispatches while the document is still scriptable. This belongs in telemetry.md or lifetime.md.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e7c790b61d90 https://hg.mozilla.org/integration/autoland/rev/a3c1525bf664 Document why an engagement from a search bar in a web page survives a same-tab load. r=mbeier,urlbar-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [search][qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: