Closed Bug 1931921 Opened 1 year ago Closed 1 year ago

Consider renaming BackstagePass

Categories

(Core :: XPConnect, task)

task

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.

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

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.

duplicate of bug 1767888?

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1767888
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.