add: gList.removeAttribute("ref"); 
context: function Startup(){  // set up the string bundle  gPrefApplicationsBundle = document.getElementById("bundle_prefApplications");  // set up the elements  gList = document.getElementById("appList");   gExtensionField = document.getElementById("extension");          gMIMEDescField  = document.getElementById("mimeDesc");  gHandlerField   = document.getElementById("handler");  gNewTypeButton  = document.getElementById("newTypeButton");  gEditButton     = document.getElementById("editButton");  gRemoveButton   = document.getElementById("removeButton");  // Disable the Edit & Remove buttons until we click on something  updateLockedButtonState(false);  const mimeTypes = "UMimTyp";  var fileLocator = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties);    var file = fileLocator.get(mimeTypes, Components.interfaces.nsIFile);  var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);  var fileHandler = ioService.getProtocolHandler("file").QueryInterface(Components.interfaces.nsIFileProtocolHandler);  gDS = gRDF.GetDataSource(fileHandler.getURLSpecFromFile(file));  // intialize the listbox  gList.database.AddDataSource(gDS);  gList.setAttribute("ref", "urn:mimetypes");  // Test whether the data source is already loaded.  if (gDS.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).loaded) {    // Do it now.    xmlSinkObserver.onEndLoad(gDS.QueryInterface(Components.interfaces.nsIRDFXMLSink));  } else {    // Add observer that will kick in when data source load completes.    gDS.QueryInterface(Components.interfaces.nsIRDFXMLSink).addXMLSinkObserver( xmlSinkObserver );  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/51767977d30f9bfcd48f828cfcd4cbe969d6b7ed/pref-applications.js/buggy/suite/common/pref/pref-applications.js