Bug 1367630 - part 4: Don't claim that the stored title is a content title when it's really the page's URL. r=mikedeboer

MozReview-Commit-ID: 6VKZFmEv8WN
This commit is contained in:
Dão Gottwald committed 2017-07-14 09:50:41 +02:00
1 parent ee47dbab09
commit 1262916843
1 file changed
+2 -1
@@ -2644,7 +2644,8 @@ var SessionStoreInternal = {
// If the page has a title, set it.
if (activePageData) {
if (activePageData.title) {
if (activePageData.title &&
activePageData.title != activePageData.url) {
win.gBrowser.setInitialTabTitle(tab, activePageData.title, { isContentTitle: true });
} else if (activePageData.url != "about:blank") {
win.gBrowser.setInitialTabTitle(tab, activePageData.url);