rem: var mailtoUrl = aBody ? "mailto:?body=" + encodeURIComponent(aBody) + "&subject=" + encodeURIComponent(aSubject) : "mailto:"; 
add: var mailtoUrl = "mailto:"; if (aBody) { mailtoUrl += "?body=" + encodeURIComponent(aBody); mailtoUrl += "&subject=" + encodeURIComponent(aSubject); } 
context:   sendMessage: function (aBody, aSubject)  {    // generate a mailto url based on the url and the url's title    var mailtoUrl = aBody ? "mailto:?body=" + encodeURIComponent(aBody) + "&subject=" + encodeURIComponent(aSubject) : "mailto:";    var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);    var uri = ioService.newURI(mailtoUrl, null, null);    // now pass this url to the operating system    this._launchExternalUrl(uri);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ffa9f7662975e8bd3b0a18714687e5cf859126d0/browser.js/buggy/browser/base/content/browser.js