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)
Firefox
Address Bar
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(), resultids), 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
onEngagementandonSelectionrun in the parent, and whatcontroller.inputandcontroller.viewoffer there.
A second patch should mark the steps in lifetime.md that cross the boundary.
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
Whiteboard: [sng][mcab-hnt-followon]
Updated•2 months ago
|
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
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2e1fd11efda6
https://hg.mozilla.org/mozilla-central/rev/2ba7bea63335
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox159:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Updated•1 month ago
|
QA Whiteboard: [search][qa-triage-done-c159/b158]
You need to log in
before you can comment on or make changes to this bug.
Description
•