rem: var url = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURL); url.spec = soundURL; 
add: var ioService = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService); var url = ioService.newURI(soundURL, null, null); 
context: function PreviewSound(){  var soundURL = document.getElementById("mailnewsSoundFileUrl").value;  if (!gSound)    gSound = Components.classes["@mozilla.org/sound;1"].createInstance(Components.interfaces.nsISound);  if (soundURL.indexOf("file://") == -1) {    // XXX todo see if we can create a nsIURL from the native file path    // otherwise, play a system sound    gSound.playSystemSound(soundURL);  }  else {    var url = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURL);    url.spec = soundURL;    gSound.play(url)  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/62b4f4b523f027968c4ba166243c4d0c5c2cbc3d/pref-download.js/buggy/xpfe/components/prefwindow/resources/content/pref-download.js