rem: if ("inlineSpellChecker" in window.opener.InlineSpellChecker) 
add:  if (("InlineSpellChecker" in window.opener) && ("inlineSpellChecker" in window.opener.InlineSpellChecker)) 
context: function ExitSpellChecker(){  if (gSpellChecker)  {    try    {      var curLang = gSpellChecker.GetCurrentDictionary();      gSpellChecker.UninitSpellChecker();      if ("@mozilla.org/spellchecker;1" in Components.classes) {        var spellChecker = Components.classes["@mozilla.org/spellchecker/myspell;1"]                                     .getService(Components.interfaces.mozISpellCheckingEngine);        spellChecker.dictionary = curLang;      }      // now check the document over again with the new dictionary      if ("inlineSpellChecker" in window.opener.InlineSpellChecker)        if (window.opener.InlineSpellChecker.inlineSpellChecker.enableRealTimeSpell)          window.opener.InlineSpellChecker.checkDocument(window.opener.content.document);    }    finally    {      gSpellChecker = null;    }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3e7b6d26320d2fad860addbfa526e503e497fe50/EdSpellCheck.js/clean/editor/ui/dialogs/content/EdSpellCheck.js