Maybe remove TaskCategory.
Categories
(Core :: XPCOM, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: farre, Assigned: emilio)
References
Details
Attachments
(1 file)
Bug 1620594 is removing TabGroup and SystemGroup, and by doing so removing the distinct event targets for different task categories.
TabGroup was responsible for managing the different task category event targets, but since we never started using the abstract threads we were planning to use to be able to schedule TabGroups we never used event targets that behaved differently than dispatching to the main thread event target.
Updated•3 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.
I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).
Updated•2 years ago
|
Comment 2•2 years ago
|
||
TaskCategory
removal perhaps did not depend on the removal of about:performance, but the removal of the per-tab cpu usage metrics means that per-window event targets no longer have value, and the patch here is intending to remove those.
Comment 4•2 years ago
|
||
bugherder |
Description
•