Closed Bug 2077073 Opened 2 months ago Closed 1 month ago

Document how address bar results and providers work across the process boundary

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

(2 external files)

On the message path, results, payloads and provider hooks behave differently from the direct path, and nothing in the address bar docs says how. A provider can break these rules without noticing on the direct path, and only a run with browser.urlbar.ipc.chromeMessagePassing enabled catches it.

A new page should cover:

  • How a result crosses (UrlbarResult.toWire()/fromWire(), result ids), what a payload may contain, and which view data is fixed when the result is finalized.
  • What a load or fixup message carries, and what the parent adds itself.
  • How onEngagement and onSelection run in the parent, and what controller.input and controller.view offer there.

A second patch should mark the steps in lifetime.md that cross the boundary.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Whiteboard: [sng][mcab-hnt-followon]
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e0fab29bae15 https://hg.mozilla.org/integration/autoland/rev/2e1fd11efda6 Document how address bar results and providers work across the process boundary. r=mbeier,urlbar-reviewers DONTBUILD https://github.com/mozilla-firefox/firefox/commit/db20b110ef0a https://hg.mozilla.org/integration/autoland/rev/2ba7bea63335 Mark the steps of the address bar search lifecycle that cross the process boundary. r=mbeier,urlbar-reviewers DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month 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: