rem: var ix = name.indexOf("filename="); 
add: const filenamePrefix = "filename="; var ix = name.indexOf(filenamePrefix); 
context:   get suggestedFileName()  {    var filename = "";    var name = this.mContentDisposition;    if (name) {      var ix = name.indexOf("filename=");      if (ix > 0) {        filename = name.substr(ix, name.length);        if (filename != "") {          ix = filename.lastIndexOf(";");          if (ix > 0)            filename = filename.substr(0, ix);          // XXX strip out quotes;        }      }    }    return filename;  }  
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6f15edeb2b50ee55d02b7da729980c1e40f154f9/contentAreaUtils.js/clean/xpfe/communicator/resources/content/contentAreaUtils.js