rem: helpWindow.setAttribute("title", getAttribute(helpFileDS, RDF_ROOT, NC_TITLE, "")); 
add: document.title = getAttribute(helpFileDS, RDF_ROOT, NC_TITLE, ""); 
context: function loadHelpRDF() {  if (!helpFileDS) {    try {      helpFileDS = RDF.GetDataSourceBlocking(helpFileURI);    }    catch (e if (e.result == NSRESULT_RDF_SYNTAX_ERROR)) {      log("Help file: " + helpFileURI + " contains a syntax error.");    }    catch (e) {      log("Help file: " + helpFileURI + " was not found.");    }    try {      helpWindow.setAttribute("title", getAttribute(helpFileDS, RDF_ROOT, NC_TITLE, ""));      helpBaseURI = getAttribute(helpFileDS, RDF_ROOT, NC_BASE, helpBaseURI);      defaultTopic = getAttribute(helpFileDS, RDF_ROOT, NC_DEFAULTTOPIC, "welcome");      var panelDefs = helpFileDS.GetTarget(RDF_ROOT, NC_PANELLIST, true);            RDFContainer.Init(helpFileDS, panelDefs);      var iterator = RDFContainer.GetElements();        while (iterator.hasMoreElements()) {        var panelDef = iterator.getNext();        var panelID = getAttribute(helpFileDS, panelDef, NC_PANELID, null);                var datasources = getAttribute(helpFileDS, panelDef, NC_DATASOURCES, "rdf:none");        datasources = normalizeLinks(helpBaseURI, datasources);        // cache additional datsources to augment search datasources.        if (panelID == "search") {	       emptySearchText = getAttribute(helpFileDS, panelDef, NC_EMPTY_SEARCH_TEXT, "No search items found.");	       emptySearchLink = getAttribute(helpFileDS, panelDef, NC_EMPTY_SEARCH_LINK, "about:blank");          searchDatasources = datasources;          datasources = "rdf:null"; // but don't try to display them yet!        }          // cache toc datasources for use by ID lookup.        var tree = document.getElementById("help-" + panelID + "-panel");        loadDatabasesBlocking(datasources);        tree.setAttribute("datasources", datasources);      }      }    catch (e) {      log(e + "");          }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5601db241c69949126f4af5dc3980dff80e03ce7/help.js/buggy/extensions/help/resources/content/help.js