Closed Bug 1896783 Opened 6 months ago Closed 3 months ago

Start using the category manager for consumers to hook into browser window `delayed-startup`

Categories

(Firefox :: General, task, P2)

Desktop
All
task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Instead of hardcoding the contents of delayedStartup in browser-init, it'd be nice if we could have this one step removed in the category manager, so that the success/failure of individual tasks doesn't break the whole process of starting the browser, and so that browser windows don't need references to all the modules that want to know about browser windows loading or unloading.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED

Unfortunately the addition in browser-siteProtections.js still makes this a
variable on the browser window, but refactoring the contents of that file to
be module-based is a separate effort.

Severity: -- → N/A
Type: defect → task
Priority: -- → P2
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c73aaf5cea32 start using the category manager for browser delayed startup, r=mossop,webcompat-reviewers,twisniewski https://hg.mozilla.org/integration/autoland/rev/bd066196ee77 don't rely on the ReportBrokenSite object existing as a window property, r=twisniewski,pbz,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Regressions: 1913762
No longer regressions: 1913762
Blocks: 1916424
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: