rem: if (editorList && editorList.length > 0) return editorList[0]; 
add: if (editorList.item(0)) return editorList.item(0); 
context: function GetCurrentEditorElement(){  var tmpWindow = window;    do {    // Get the <editor> element(s)    var editorList = tmpWindow.document.getElementsByTagName("editor");    // This will change if we support > 1 editor element    if (editorList && editorList.length > 0)      return editorList[0];    tmpWindow = tmpWindow.opener;  }   while (tmpWindow);  return null;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0a5dfa0dba813145a26a57bea62a7f219286cd56/editorUtilities.js/clean/editor/ui/composer/content/editorUtilities.js