зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
dcc400c229
Коммит
ecc53874c1
|
@ -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"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче