Open Bug 1621884 Opened 5 years ago Updated 2 years ago

Reduce nsXULAppAPI.h inclusions

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: gsvelto, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

Touching nsXULAppAPI.h causes half of the codebase to be recompiled which is bad.

A cursory grep shows at least 47 files including the header but not using any of the functions in there (they might be using definitions though).

Also most of the files including it only want XRE_GetProcessType() or XRE_IsParentProcess() so it should be easy to move those out to a smaller header for code that doesn't need to call those functions from outside of libxul.

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