rem: var names=s.getNames({}); 
add: if (!s.ok) { alert('not ok'); } var names=s.getNames({}); 
context: function displaySmilies()// EFFECTS: Generates preview of currently loaded smilies{	var s=Components.classes["@shawnwilsher.com/smilies;1"]	                .getService(Components.interfaces.nsISmilies);	var ref=document.getElementById('smileyPreview');	var names=s.getNames({});	// remove any existing children	while( ref.lastChild ) {		ref.removeChild(ref.lastChild);	}	// add new	var item,img,label,box;	for( var i in names ) {		item=document.createElement('richlistitem');		box=document.createElement('hbox');		img=document.createElement('image');		img.setAttribute('src',s.getPath(names[i]));		box.appendChild(img);		label=document.createElement('label');		label.setAttribute('value',names[i]);		box.appendChild(label);		item.appendChild(box);		ref.appendChild(item);	}}
meta: 760	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/760/4ec65ada7f4720a2b649bb347d155ac073bb402f/options.js/buggy/chrome/content/options/options.js