[meta] Convert uses of NS_Get{Current,Main}Thread to Get{Current,Main}ThreadEventTarget

NEW
Unassigned

Status

()

enhancement
2 years ago
2 years ago

People

(Reporter: billm, Unassigned)

Tracking

({meta})

Firefox Tracking Flags

(Not tracked)

Details

This is a meta bug to cover the conversion:

1. of NS_GetCurrentThread or NS_GetMainThread to GetCurrentThreadEventTarget or GetMainThreadEventTarget.
2. of thread equality checks to event target IsOnCurrentThread checks.

This will make things easier for the Quantum DOM project, since it will hide the fact that there can be multiple "main" threads that share a single main event loop.
Summary: [meta] Convert uses of NS_Get{Current,Main}Thread to GetCurrentThreadEventTarget → [meta] Convert uses of NS_Get{Current,Main}Thread to Get{Current,Main}ThreadEventTarget
I filed sub-bugs for the major pieces. There are also a number of uses in miscellaneous area (toolkit, storage, ipc) but not too many. I'll probably do one cleanup bug once the major ones are resolved.
Keywords: meta
You need to log in before you can comment on or make changes to this bug.