mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 15:43:10 -10:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user