Open
Bug 1852327
Opened 2 years ago
Updated 2 years ago
Move the options methods out of XPConnect
Categories
(Core :: XPConnect, task)
Core
XPConnect
Tracking
()
NEW
People
(Reporter: mccr8, Unassigned)
References
Details
SetPrefableRealmOptions, SetPrefableContextOptions, and SetPrefableCompileOptions are all declared in xpcpublic.h and defined in XPCJSContext.cpp, but they are used by every kind of browser JS context, and don't really depend on anything specific to XPCJSContext, aside from the fact that some need to be run on the main thread due to reading prefs.
I think we should move them somewhere else, probably alongside CycleCollectedJSContext. This will also let us remove some includes of xpcpublic.
| Reporter | ||
Comment 1•2 years ago
|
||
Bug 1857431 is going to do a similar thing for InitGlobalObjectOptions, so that should also get moved out of xpcprivate.
You need to log in
before you can comment on or make changes to this bug.
Description
•