rem: var firstLower  = first.toLowerCase(); var secondLower = second.toLowerCase(); 
add:  if (first.hostname) { firstLower  = first.hostname.toLowerCase(); secondLower = second.hostname.toLowerCase(); } else { firstLower  = first.toLowerCase(); secondLower = second.toLowerCase(); } 
context: function CompareLowerCase(first, second) {  var firstLower  = first.toLowerCase();  var secondLower = second.toLowerCase();  if (firstLower < secondLower) {    return -1;  }  if (firstLower > secondLower) {    return 1;  }  return 0;}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/866aabbb8451f53d863fc937aedb4baaacaca246/passwordManagerCommon.js/clean/toolkit/components/passwordmgr/content/passwordManagerCommon.js