Closed Bug 1624819 Opened 5 years ago Closed 2 years ago

Maybe remove TaskCategory.

Categories

(Core :: XPCOM, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
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.

Severity: normal → S3

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).

Assignee: nobody → emilio
Status: NEW → ASSIGNED
See Also: → 1857885
Depends on: 1836191

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.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/324cc7d374d1 Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: