* windowScriptObjectAvailable event. Now that we know which window
* belongs to this module, we can resolve the correct global context.
*/
final int globalContext = globalContexts.get(scriptObject).intValue();
ModuleSpace moduleSpace = new ModuleSpaceSaf(logger, msh, scriptObject,
globalContext, moduleName, key);
attachModuleSpace(logger, moduleSpace);
return true;
} catch (Throwable e) {
// We do catch Throwable intentionally because there are a ton of things