Closed Bug 1962056 Opened 8 months ago Closed 7 months ago

Some more BrowserGlue simplification/splitting

Categories

(Firefox :: General, task)

Desktop
All
task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 4 open bugs)

Details

Attachments

(2 files)

Split from bug 1958070 for release tracking purposes.

Places frontend initialization is surprisingly complex, and disentangling it
from the rest of startup by moving it to its own file helps make some of the
logic a little more obvious, and makes unit-testing a bit easier.

This also removes BrowserGlue from the indirection mechanism used between
MigatorBase instances and Places, by switching to category-manager-based
invocation - this way, migrator code does not need to directly
call places code to tell it it's done, but we don't need BrowserGlue to play
messenger between them.

It would be nice to do the same thing for places-init-complete but
that is notified from C++ code so unfortunately that is not easily possible.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/50168e035edf move places initialization out of BrowserGlue, r=places-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,mossop,mak,mconley
Keywords: leave-open
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/02a5e96cbeb8 use the category manager for first window ready initialization, r=firefox-desktop-core-reviewers ,mossop
Pushed by smolnar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35eb9cf6b15a Revert "Bug 1962056 - use the category manager for first window ready initialization, r=firefox-desktop-core-reviewers ,mossop" for causing xpc/bc related failures.
Flags: needinfo?(gijskruitbosch+bugs)
Pushed by amarc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2f5855c3befc use the category manager for first window ready initialization, r=firefox-desktop-core-reviewers ,mossop

Relanded this, it was not the culprit for the failures, sorry for that

Flags: needinfo?(gijskruitbosch+bugs)
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Regressions: 1968825
QA Whiteboard: [qa-triage-done-c141/b140]
Blocks: 1981454
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: