rem: return gDateService.FormatDateTime("", gDateService.dateFormatLong, gDateService.timeFormatSeconds, date.getFullYear(), date.getMonth()+1, date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds()); 
add:     var expiry = ""; try { expiry = gDateService.FormatDateTime("", gDateService.dateFormatLong, gDateService.timeFormatSeconds, date.getFullYear(), date.getMonth()+1, date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds()); } catch(ex) {  } return expiry; 
context: function GetExpiresString(expires) {  if (expires) {    var date = new Date(1000*expires);    return gDateService.FormatDateTime("", gDateService.dateFormatLong,                                       gDateService.timeFormatSeconds, date.getFullYear(),                                       date.getMonth()+1, date.getDate(), date.getHours(),                                       date.getMinutes(), date.getSeconds());  }  return cookieBundle.getString("AtEndOfSession");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c48af3a33a605d3383567fb2e33f236b4ad3b66c/CookieViewer.js/buggy/extensions/wallet/cookieviewer/resources/content/CookieViewer.js