rem: promptService.Alert(window, errorTitle, errorMsg); 
add: promptService.alert(window, errorTitle, errorMsg); 
context:   onDrop: function (aEvent, aData, aDragSession)    {      var prettyName;      var rawData = aData.data;      switch (aData.flavour.contentType) {      case "text/x-moz-url":      case "text/nsmessage":        var separator = rawData.indexOf("\n");        if (separator != -1) {          prettyName = rawData.substr(separator+1);          rawData = rawData.substr(0,separator);        }        break;      case "application/x-moz-file":    	  const FileContractID = "@mozilla.org/network/standard-url;1";    	  const FileURLIID = Components.interfaces.nsIFileURL;    	  var fileURL = Components.classes[FileContractID].createInstance(FileURLIID);    	  fileURL.file = aData.data;    	  rawData = fileURL.spec;        break;      }      if (!(DuplicateFileCheck(rawData)))        AddAttachment(rawData, prettyName);      else {        var errorTitle = gComposeMsgsBundle.getString("DuplicateFileErrorDlogTitle");        var errorMsg = gComposeMsgsBundle.getString("DuplicateFileErrorDlogMessage");        if (promptService)          promptService.Alert(window, errorTitle, errorMsg);        else          window.alert(errorMsg);      }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/195816bd8ff89657b37fb4c7de9648e391c85d48/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js