rem: /* Commented out until it works var ioservice = Components.classes["@mozilla.org/network/io-service;1"]. getService(Components.interfaces.nsIIOService); var channel = ioservice.newChannel("chrome: null, null); var stream = channel.open(); var parser = new DOMParser();  var buildconfig = parser.parseFromStream(stream, "UTF-8", stream.available(), "application/xhtml+xml");  return buildconfig.documentElement.firstChild.textContent; */ return 'buildconfig'; 
add:  try { netscape.security.PrivilegeManager. enablePrivilege("UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite"); var ioservice = Components.classes["@mozilla.org/network/io-service;1"]. getService(Components.interfaces.nsIIOService); var channel = ioservice.newChannel("chrome: null, null); var stream = channel.open(); var scriptableInputStream = Components.classes["@mozilla.org/scriptableinputstream;1"]. createInstance(Components.interfaces.nsIScriptableInputStream); scriptableInputStream.init(stream); var data = ""; var curBit = scriptableInputStream.read(4096); while (curBit.length) { data += curBit; curBit = scriptableInputStream.read(4096); }  data = data.replace(/^<!DOCTYPE[^>]*>/, "");  data = data.replace(/^<html>/, "<html xmlns='http: var parser = new DOMParser(); var buildconfig = parser.parseFromString(data, "application/xhtml+xml"); var text = buildconfig.getElementsByTagName("body")[0].textContent; var start= text.indexOf('Configure arguments')+19; return text.substring(start); } catch(ex) { alert(ex); } 
context: function getBuildConfig() {  /* Commented out until it works  var ioservice =     Components.classes["@mozilla.org/network/io-service;1"].       getService(Components.interfaces.nsIIOService);  var channel = ioservice.newChannel("chrome://global/content/buildconfig.html",                                     null, null);  var stream = channel.open();  var parser = new DOMParser();  var buildconfig = parser.parseFromStream(stream, "UTF-8", stream.available(),                                   "application/xhtml+xml");  return buildconfig.documentElement.firstChild.textContent;  */  return 'buildconfig';}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/be8f1f6b4bb2724fb654b4d236c63ac7b4731132/reportWizard.js/buggy/extensions/reporter/resources/content/reporter/reportWizard.js