rem: dump('registry opened\n'); 
context: function OnLoad(){    var registry = Components.classes['component://netscape/registry-viewer'].createInstance();    registry = registry.QueryInterface(Components.interfaces.nsIRegistryViewer);    registry.openWellKnownRegistry(1); // application component registry    dump('registry opened\n');    var datasource = registry.QueryInterface(Components.interfaces.nsIRDFDataSource);    dump('datasource = ' + datasource + '\n');    var tree = document.getElementById('tree');    tree.database.AddDataSource(datasource);    tree.setAttribute('ref', 'urn:mozilla-registry:key:/');}  
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/98aeb2eb8eabe2e7ff77a781a7e0ca63eb0278b1/regviewer.js/buggy/xpfe/components/regviewer/regviewer.js