rem: dump("Getting document\n"); var theDoc = appCore.editorDocument; if (theDoc) { dump("Got the doc\n"); dump("Document name:" + theDoc.nodeName + "\n"); dump("Document type:" + theDoc.doctype + "\n"); } else { dump("Failed to get the doc\n"); } 
add: dump("Got the doc\n"); dump("Document name:" + theDoc.nodeName + "\n"); dump("Document type:" + theDoc.doctype + "\n"); 
context: 	function EditorTestDocument()	{    if (appCore)    {	    dump("Getting document\n");	    var theDoc = appCore.editorDocument;    	if (theDoc)    	{    		dump("Got the doc\n");    	  dump("Document name:" + theDoc.nodeName + "\n");    	  dump("Document type:" + theDoc.doctype + "\n");	    }	    else	    {	    		dump("Failed to get the doc\n");	    }    }	}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/e11fb63db9c449f5b8f3532e59ec06858ddc8a59/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js