2 // NOTE: JSM cannot have unqualified name.
6 const funcs = Cu.getJSTestingFunctions();
8 let env = funcs.getInnerMostEnvironmentObject();
11 type: funcs.getEnvironmentObjectType(env) || "*SystemGlobal*",
12 qualified: !!Object.getOwnPropertyDescriptor(env, "qualified"),
13 prop: !!Object.getOwnPropertyDescriptor(env, "prop"),
14 lexical: !!Object.getOwnPropertyDescriptor(env, "lexical"),
17 env = funcs.getEnclosingEnvironmentObject(env);
20 const EXPORTED_SYMBOLS = ["envs"];