rem: var xulWin = document.getElementById("editorWindow"); 
add: var xulWin = document.getElementById("WebComposerWindow"); 
context: function UpdateWindowTitle(){  try {    var windowTitle = GetDocumentTitle();    if (!windowTitle)      windowTitle = GetString("untitled");    // Append just the 'leaf' filename to the Doc. Title for the window caption    var docUrl = GetDocumentUrl();    if (!IsUrlAboutBlank(docUrl))    {      var scheme = GetScheme(docUrl);      var filename = GetFilename(docUrl);      if (filename)        windowTitle += " [" + scheme + ":/.../" + filename + "]";    }    // Set window title with " - Composer" appended    var xulWin = document.getElementById("editorWindow");    window.title = windowTitle + xulWin.getAttribute("titlemenuseparator") + xulWin.getAttribute("titlemodifier");    // Save changed title in the recent pages data in prefs    SaveRecentFilesPrefs();  } catch (e) {}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/53953ee69005a4dd6cee2e8213a8514564bdbdd8/editor.js/buggy/editor/ui/composer/content/editor.js