diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml
index 50a95bcec03..590f926f87d 100644
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -384,7 +384,7 @@
var newTitle = "";
var docTitle;
if (this.docShell.contentViewer)
- docTitle = this.contentDocument.title;
+ docTitle = this.contentTitle;
if (!docTitle)
docTitle = this.ownerDocument.documentElement.getAttribute("titledefault");
@@ -1342,6 +1342,10 @@
onget="return this.mCurrentBrowser.contentDocument;"
readonly="true"/>
+
+