rem: appts_container = Components.classes['component: 
add: appts_container = Components.classes['@mozilla.org/rdf/container;1'].createInstance(); 
context: function Init(){	// Initialize the Sidebar	// Install all the datasources named in the Flash Registry into	// the tree control. Datasources are listed as members of the	// NC:FlashDataSources sequence, and are loaded in the order that	// they appear in that sequence.	try {		// First try to construct a new one and load it		// synchronously. nsIRDFService::GetDataSource() loads RDF/XML		// asynchronously by default.		rdf_datasource = Components.classes['component://netscape/rdf/datasource?name=xml-datasource'].createInstance();		rdf_datasource = rdf_datasource.QueryInterface(Components.interfaces.nsIRDFDataSource);		rdf_remote_datasource = rdf_datasource.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);		rdf_remote_datasource.Init(RDFFileName); // this will throw if it's already been opened and registered.		dump("Reading datasource synchronously.\n");		// read it in synchronously.		rdf_remote_datasource.Refresh(true);	}	catch (ex) {		// if we get here, then the RDF/XML has been opened and read		// once. We just need to grab the datasource.		dump("Datasource already read.  Grabbing.\n");		rdf_datasource = RDFService.GetDataSource(RDFFileName);	}	// Create a 'container' wrapper around the appts_resourcename	// resource so we can use some utility routines that make access a	// bit easier.	// NOT var, so it's global	appts_container = Components.classes['component://netscape/rdf/container'].createInstance();	appts_container = appts_container.QueryInterface(Components.interfaces.nsIRDFContainer);	appts_resource = RDFService.GetResource(appts_resourcename);	appts_container.Init(rdf_datasource, appts_resource);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/bug12012.js/buggy/layout/html/tests/table/bugs/bug12012.js