rem:    var editor = tmpWindow.document.getElementById("content-frame"); if (editor) return editor; 
add:  var editorList = tmpWindow.document.getElementsByTagName("editor");   if (editorList && editorList.length > 0) return editorList[0]; 
context: function GetCurrentEditorElement(){  var tmpWindow = window;    do {    // We want the equivalent of document.commandDispatcher.focusedWindow.frameElementInternal    // or even document.FindContentForSubDocument(document.commandDispatcher.focusedWindow.document)    // but those aren't scriptable, so hardcode in the id for now    var editor = tmpWindow.document.getElementById("content-frame");    if (editor)      return editor;    tmpWindow = tmpWindow.opener;  }   while (tmpWindow);  return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8b8b5a55aaeec0a0e5d04de1d879ec602ef8531b/editorUtilities.js/buggy/editor/ui/composer/content/editorUtilities.js