rem: editorShell.editor.SetFlags(plaintextEditor.eEditorReadonlyMask); 
add: editorShell.editor.SetFlags(nsIPlaintextEditor.eEditorReadonlyMask); 
context: function disableEditableFields(){  editorShell.editor.SetFlags(plaintextEditor.eEditorReadonlyMask);  var disableElements = document.getElementsByAttribute("disableonsend", "true");  for (i=0;i<disableElements.length;i++)  {    disableElements[i].setAttribute('disabled', 'true');  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d52592e83bce2a07c0c6646de9e9c15df155849/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js