215929 - window title incorrectly shows [Object HTMLImageElement] when switching tabs, bringing across some of caillon's code from xpfe/, r=mscott a=me

This commit is contained in:
ben@bengoodger.com 2007-08-21 21:59:35 -07:00
Родитель dcc400c229
Коммит ecc53874c1
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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"/>
<property name="contentTitle"
onget="return this.mCurrentBrowser.contentTitle;"
readonly="true"/>
<property name="securityUI"
onget="return this.mCurrentBrowser.securityUI;"
readonly="true"/>