rem: uri = ioService.newURI(str.data.split("\n")[0], null, null); 
add: uri = this._ios.newURI(str.data.split("\n")[0], null, null); 
context:   _dragDrop : function(aEvent)  {    var dragService = Cc["@mozilla.org/widget/dragservice;1"].getService(Ci.nsIDragService);    var dragSession = dragService.getCurrentSession();    if (dragSession.sourceNode)      return;    var trans = Cc["@mozilla.org/widget/transferable;1"].createInstance(Ci.nsITransferable);    trans.addDataFlavor("text/x-moz-url");    trans.addDataFlavor("application/x-moz-file");    var uris = [];    for (var i=0; i<dragSession.numDropItems; i++) {      var uri = null;      dragSession.getData(trans, i);      var flavor = {}, data = {}, length = {};      trans.getAnyTransferData(flavor, data, length);      if (data) {        try {          var str = data.value.QueryInterface(Ci.nsISupportsString);        }        catch(ex) {        }        if (str) {          uri = ioService.newURI(str.data.split("\n")[0], null, null);        }        else {          var file = dataObj.value.QueryInterface(Ci.nsIFile);          if (file)            uri = this._ios.newFileURI(file);        }      }      if (uri)        uris.push(uri);    }    if (this._profile.script.dropFiles)      this._profile.script.dropFiles(uris);  },
meta: 2142	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2142/9e13dbea29dcd785a29a742680f77f8b017e1de1/webrunner.js/buggy/app/chrome/content/webrunner.js