Closed
Bug 1931921
Opened 1 year ago
Closed 1 year ago
Consider renaming BackstagePass
Categories
(Core :: XPConnect, task)
Core
XPConnect
Tracking
()
RESOLVED
DUPLICATE
of bug 1767888
People
(Reporter: mccr8, Unassigned)
Details
BackstagePass is the name of one kind of chrome JS global. I've seen multiple people recently being confused by it. I guess the name is some kind of joke but maybe we could rename it? There less than 80 references to it in the code base so maybe it would be doable.
| Reporter | ||
Comment 1•1 year ago
|
||
I don't know what the right name would be exactly. There are at least some other globals that are run with chrome privilege.
The places that BackstagePass is created are:
- mozJSModuleLoader::CreateLoaderGlobal
- mozilla::ipc::XPCShellEnvironment::Init
- XRE_XPCShellMain
| Reporter | ||
Comment 2•1 year ago
|
||
Here is a list of the places that inherit from nsIGlobalObject if you want to see the other kinds of globals. nsIScriptGlobal is the parent class of the inner and outer windows.
Comment 3•1 year ago
|
||
duplicate of bug 1767888?
| Reporter | ||
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•