зеркало из https://github.com/mozilla/pjs.git
backing out bug 169826 (Port patch from bug 164006 to Firefox (wyciwyg: in tab titles)) as it caused bug 297037 / 297047
This commit is contained in:
Родитель
2b1d9729a7
Коммит
8136e98b25
|
@ -621,6 +621,8 @@
|
|||
|
||||
// Update the URL bar.
|
||||
var loc = this.mCurrentBrowser.currentURI;
|
||||
if (!loc)
|
||||
loc = ({ spec: "" });
|
||||
|
||||
var webProgress = this.mCurrentBrowser.webProgress;
|
||||
var securityUI = this.mCurrentBrowser.securityUI;
|
||||
|
@ -850,7 +852,7 @@
|
|||
<![CDATA[
|
||||
var browser = this.getBrowserForTab(aTab);
|
||||
var crop = "end";
|
||||
var title = browser.contentTitle;
|
||||
var title = browser.contentDocument.title;
|
||||
|
||||
if (!title) {
|
||||
if (browser.currentURI.spec) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче