rem: var delim = nocaptureList[0]; nocaptureList = nocaptureList.split(delim); 
add: if (nocaptureList.length > 0) { var delim = nocaptureList[0]; nocaptureList = nocaptureList.split(delim); } 
context: function LoadNocapture(){  nocaptureList = signonviewer.GetNocaptureValue();  var delim = nocaptureList[0];  nocaptureList = nocaptureList.split(delim);  for(var i = 1; i < nocaptureList.length; i++)  {    var currSignon = TrimString(nocaptureList[i]);    // TEMP HACK until morse fixes signon viewer functions    currSignon = RemoveHTMLFormatting(currSignon);    AddItem("nocapturelist",[currSignon],"nocapture_",i-1);  }  if (deleted_nocaptures_count >= nocaptureList.length) {    document.getElementById("removeAllNocaptures").setAttribute("disabled","true");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/780f516d61da6ad6d5dc0a4e62f77d0a9bd28daa/SignonViewer.js/buggy/extensions/wallet/signonviewer/SignonViewer.js