Closed Bug 2076824 Opened 2 months ago Closed 2 months ago

Document the address bar's in-process and cross-process paths to the parent controller

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)

overview.md describes UrlbarChildController and UrlbarParentController but not how they reach each other. The child reaches the parent in one of two ways:

  • Direct path: the child holds the parent controller itself. Chrome uses this by default.
  • Message path: the child holds a UrlbarParentControllerProxy and talks to the parent over the Urlbar actor pair. Content processes use this, and so does chrome when browser.urlbar.ipc.chromeMessagePassing is set.

An input picks its path when it is constructed (usesMessagePath() in UrlbarContentUtils.mjs). overview.md should say this, since the wire contract, the boundary crossings in lifetime.md and the testing docs all build on it.

Whiteboard: [sng][mcab-hnt-followon]
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0640b3110d99 https://hg.mozilla.org/integration/autoland/rev/32fe135793cf Document the address bar's in-process and cross-process paths to the parent controller. 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: