This commit is contained in:
Robert Sayre 2010-09-24 12:35:01 -04:00
Родитель ab51e5b35f 0341e5db8e
Коммит 45fc94877d
2 изменённых файлов: 12 добавлений и 4 удалений

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

@ -2378,8 +2378,15 @@ SessionStoreService.prototype = {
browser.userTypedValue = activePageData ? activePageData.url || null : null;
// If the page has a title, set it.
if (activePageData && activePageData.title)
tab.label = activePageData.title;
if (activePageData) {
if (activePageData.title) {
tab.label = activePageData.title;
tab.crop = "end";
} else if (activePageData.url != "about:blank") {
tab.label = activePageData.url;
tab.crop = "center";
}
}
}
if (!this._isWindowLoaded(aWindow)) {

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

@ -85,7 +85,6 @@ _MOCHITEST_FILES = \
neverending.sjs \
test_newstreamondestroy.html \
$(warning test_crashing2.html disabled due to random orange; see bug 566049) \
test_hanging.html \
crashing_subpage.html \
test_GCrace.html \
test_propertyAndMethod.html \
@ -122,10 +121,12 @@ endif
endif
endif
# Temporarily disable these tests on Mac OS X, see bug 599076 and bug 599267.
# Temporarily disable these tests on Mac OS X, see bug 599076 and bug 599267
# and bug 599378.
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
_MOCHITEST_FILES += \
test_crashing.html \
test_hanging.html \
$(NULL)
_MOCHICHROME_FILES += \