rem:  gTree.database.AddDataSource(gDS); gTree.setAttribute("ref", "urn:mimetypes"); 
add:  gList.database.AddDataSource(gDS); gList.setAttribute("ref", "urn:mimetypes"); 
context: function Startup(){  // set up the string bundle  gPrefApplicationsBundle = document.getElementById("bundle_prefApplications");  // set up the elements  gTree = document.getElementById("appTree");   gExtensionField = document.getElementById("extension");          gMIMETypeField  = document.getElementById("mimeType");  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);  dump("spec is " + ioService.getURLSpecFromFile(file));  gDS = gRDF.GetDataSource(ioService.getURLSpecFromFile(file));  // intialise the tree  gTree.database.AddDataSource(gDS);  gTree.setAttribute("ref", "urn:mimetypes");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1e2d5d9ba4147d5ea3cc58789a6ba7f2426d0695/pref-applications.js/clean/suite/common/pref/pref-applications.js