rem: null != htmlEditor.getElementOrParentByTagName("table", null)); 
add: null != gEditor.getElementOrParentByTagName("table", null)); 
context: function IsInTable(){  var flags = gEditor.flags;  if (!gEditor) return false;  var htmlEditor = gEditor.QueryInterface(Components.interfaces.nsIHTMLEditor);  return (htmlEditor &&          !(flags & nsIPlaintextEditor.eEditorReadonlyMask) &&          IsEditingRenderedHTML() &&          null != htmlEditor.getElementOrParentByTagName("table", null));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d56262a401c9d60bbef8fdbf3317ef55705279f1/editor.js/buggy/editor/ui/composer/content/editor.js