rem: var controller = window.content.controllers.getControllerAt(i); 
add: var controller = window._content.controllers.getControllerAt(i); 
context: function GetComposerController(){  var numControllers = window.content.controllers.getControllerCount();    // count down to find a controller that supplies a nsIControllerCommandManager interface  for (var i = numControllers; i >= 0 ; i --)  {    var commandManager = null;        try {       var controller = window.content.controllers.getControllerAt(i);      var interfaceRequestor = controller.QueryInterface(Components.interfaces.nsIInterfaceRequestor);      if (!interfaceRequestor) continue;          commandManager = interfaceRequestor.getInterface(Components.interfaces.nsIControllerCommandManager);    } catch(ex) {      dump("failed to get command manager number "+i+"\n");    }    if (commandManager)      return commandManager;  }  dump("Failed to find a controller to register commands with\n");  return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/40f3672db101cce04f656a54daffd267b7fa2e91/ComposerCommands.js/clean/editor/ui/composer/content/ComposerCommands.js