rem: window.title = resultDocument.getElementById("topic").firstChild.nodeValue; 
add: document.title = resultDocument.getElementById("topic").firstChild.nodeValue; 
context: function renderMachineReadable(){  var xsltp     = window.arguments[0];  var source    = window.arguments[1];  var style     = window.arguments[2];  var policyuri = window.arguments[3].clone().QueryInterface(nsIURL);  policyuri.ref = "";  try {    var docshell  = getSummaryBrowser().docShell.QueryInterface(nsIDocShell);        // For browser security do not allow javascript on the transformed document.    docshell.allowJavascript = false;         // Set the policy url on the result document ( fabricated ) where    // the transformation would result. Also, set the policy uri on the    // docshell for named anchors to work correctly.    var resultDocument = getDocument();    docshell.setCurrentURI(policyuri);    xsltp.reset();    xsltp.setParameter("", "policyUri", policyuri.spec);    xsltp.importStylesheet(style);    var result = xsltp.transformToFragment(source, resultDocument);    // XXX Replacing the documentElement makes scrollbars disappear.    //     See http://bugzilla.mozilla.org/show_bug.cgi?id=205725.    //while (resultDocument.lastChild} {    //    resultDocument.removeChild(resultDocument.lastChild);    //}    // XXX appendChild of a DocumentFragment should work but doesn't.    //     See http://bugzilla.mozilla.org/show_bug.cgi?id=209027.    //resultDocument.appendChild(result);    transferToDocument(result, resultDocument);    window.title = resultDocument.getElementById("topic").firstChild.nodeValue;  }  catch (ex) {    alertMessage(getBundle().GetStringFromName("InternalError"));  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a50c536224ba88cd417b6d7e3018b7b3c8529b9c/p3pSummary.js/buggy/extensions/p3p/resources/content/p3pSummary.js