rem: dump("failed to get the mail.addr_book.displayName.lastnamefirst pref\n"); }  try { editCard.generateDisplayName = prefs.GetBoolPref("mail.addr_book.displayName.autoGeneration"); } catch (ex) { dump("failed to get the mail.addr_book.displayName.autoGeneration pref\n"); 
add: dump("failed to get pref\n"); 
context: function InitEditCard(){	// create editCard object that contains global variables for editCard.js	editCard = new Object;		// get pointer to nsIPref object	var prefs = Components.classes["component://netscape/preferences"];	if ( prefs )	{		prefs = prefs.getService();		if ( prefs )		{			prefs = prefs.QueryInterface(Components.interfaces.nsIPref);			editCard.prefs = prefs;		}	}				// get specific prefs that editCard will need	if ( prefs )	{		try {			editCard.displayLastNameFirst = prefs.GetIntPref("mail.addr_book.displayName.lastnamefirst");		}		catch (ex) {			dump("failed to get the mail.addr_book.displayName.lastnamefirst pref\n");		}		try {			editCard.generateDisplayName = prefs.GetBoolPref("mail.addr_book.displayName.autoGeneration");		}		catch (ex) {			dump("failed to get the mail.addr_book.displayName.autoGeneration pref\n");		}	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7570cde6f9bfa5dd46e8e0d1d4f7707b534c2bb5/abCardOverlay.js/clean/mailnews/addrbook/resources/content/abCardOverlay.js