file.append("firebug-service-dump.txt"); file.createUnique(CI("nsIFile").NORMAL_FILE_TYPE, 0666); var stream = CC("@mozilla.org/network/file-output-stream;1").createInstance(CI("nsIFileOutputStream")); stream.init(file, 0x04 | 0x08 | 0x20, 664, 0); return stream; } catch (exc) { ERROR("createDumpStream failed "+exc); } 
file.append("firebug-service-dump.txt"); file.createUnique(CI("nsIFile").NORMAL_FILE_TYPE, 0666); var stream = CC("@mozilla.org/network/file-output-stream;1").createInstance(CI("nsIFileOutputStream")); stream.init(file, 0x04 | 0x08 | 0x20, 664, 0); return stream; } catch (exc) { ERROR("createDumpStream failed "+exc); } 
function getDumpStream(){	try	{		// OS tmp (e.g., /tmp on linux, C:\Documents and Settings\your userid\Local Settings\Temp on windows)		var file = Components.classes["@mozilla.org/file/directory_service;1"]			.getService(CI("nsIProperties"))			.get("TmpD", CI("nsIFile"));		file.append("fbug");        if ( !file.exists() )            file.create(CI("nsIFile").DIRECTORY_TYPE, 0776);		file.append("firebug-service-dump.txt");		file.createUnique(CI("nsIFile").NORMAL_FILE_TYPE, 0666);		var stream = CC("@mozilla.org/network/file-output-stream;1").createInstance(CI("nsIFileOutputStream"));		stream.init(file, 0x04 | 0x08 | 0x20, 664, 0); // write, create, truncate		return stream;	}	catch (exc)	{		ERROR("createDumpStream failed "+exc);	}}
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/2e2e6e5e5acba26e69243682fad1c16a0bea8a6a/firebug-service.js/clean/extension/components/firebug-service.js