rem: CLASS = Components.classes.xpcTestCallJS.createInstance(); 
add: CONTRACTID = "@mozilla.org/js/xpc/test/CallJS;1"; CLASS = Components.classes[CONTRACTID].createInstance(); 
context: function SetupTest() {	CLASS = Components.classes.xpcTestCallJS.createInstance();	IFACE = Components.interfaces.nsIXPCTestCallJS;	ERROR = Components.results;	caller = CLASS.QueryInterface(IFACE);	JSO = new Function();	JSO.prototype.Evaluate = new Function( "s", 		"this.result = eval(s); return this.result" );	JSO.prototype.gotException = false;	JSO.prototype.exception = {};	JSO.prototype.EvaluateAndReturnError = new Function( "s", "r", "r = eval(s); return r;" );	// keep track of the errors we've tried to use.	ERRORS_WE_GOT = {};	for ( var p in Components.results ) {		ERRORS_WE_GOT[p] = false;	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d50e6f9d653bd2ce65721c955cd37ec4a694bba8/evaluate.js/clean/js/src/xpconnect/tests/js/evaluate.js