rem: var fileObject = fileURL.file; if (fileObject) { var parentObject = fileObject.parent; if (parentObject) { pathString = parentObject.path; } } 
add: var fileObject = fileURL.file; if (fileObject) { var parentObject = fileObject.parent; if (parentObject) { pathString = parentObject.path; } } 
context:     initIntro: function(url) {        var intro = this.dialogElement( "intro" );        var desc = this.mLauncher.MIMEInfo.Description;        var modified;        if ( desc != "" )         {          // Use intro with descriptive text.          modified = this.replaceInsert( this.getString( "intro.withDesc" ), 1, this.mLauncher.MIMEInfo.Description );        }         else         {          // Use intro without descriptive text.          modified = this.getString( "intro.noDesc" );        }        modified = this.replaceInsert( modified, 2, this.mLauncher.MIMEInfo.MIMEType );        // if mSourcePath is a local file, then let's use the pretty path name instead of an ugly        // url...        var pathString = this.mSourcePath;        try         {          var fileURL = url.QueryInterface( Components.interfaces.nsIFileURL);          // All URLs will QI to nsIFileURL.  Need to check the scheme to determine type          if (fileURL.schemeIs("file"))          {             var fileObject = fileURL.file;             if (fileObject)             {               var parentObject = fileObject.parent;               if (parentObject)               {                 pathString = parentObject.path;               }             }          }        } catch(ex) {}        intro.firstChild.nodeValue = "";        intro.firstChild.nodeValue = modified;        // Set the location text, which is separate from the intro text so it can be cropped        var location = this.dialogElement( "location" );        location.value = pathString;    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7f1956b180dc3fe70fa7c37d37943d1bb9cc0cab/nsHelperAppDlg.js/buggy/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js