rem: netscape.security.PrivilegeManager .enablePrivilege("UniversalXPConnect UniversalBrowserRead UniversalBrowserWrite"); 
context: function getBuildConfig() {  // bz and Biesi are my heroes for writing/debugging this chunk.  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://global/content/buildconfig.html", 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);    }    // Strip out the <!DOCTYPE> part, since it's not valid XML    data = data.replace(/^<!DOCTYPE[^>]*>/, "");    // Probably not strictly needed, but what the heck    data = data.replace(/^<html>/, "<html xmlns='http://www.w3.org/1999/xhtml'>");    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) {    dump(ex);    return "Unknown";  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4c3778a8fb583e139dfd218da3a17fb891f90a11/reportWizard.js/clean/extensions/reporter/resources/content/reporter/reportWizard.js