Open Bug 1518907 Opened 7 years ago Updated 3 years ago

macro-ize the MessageLoop type for process main threads

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: froydnj, Unassigned)

References

(Blocks 1 open bug)

Details

We have this unfortunate switch statement:

https://searchfox.org/mozilla-central/rev/5053031ba7621fa8f63f42de4c204ab3561e4e59/toolkit/xre/nsEmbedFunctions.cpp#647-662

for the particular kind of MessageLoop you want the main thread of your new process to run. Either we should add the MessageLoop enum name to the GECKO_PROCESS_TYPE macro (ugh?) or we should just declare that all new processes get a TYPE_MOZILLA_CHILD event loop, since that's probably what everybody wants.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.