Bug 295582 Clean up after bug 281988 p=jklippl@xtux.org r=me sr=jag a=bsmedberg

This commit is contained in:
neil%parkwaycc.co.uk 2007-05-05 04:37:26 +00:00
Родитель 364153f180
Коммит f5564859bd
1 изменённых файлов: 4 добавлений и 6 удалений

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

@ -1521,9 +1521,8 @@ var BookmarksUtils = {
var name = "";
var charset;
try {
var doc = new XPCNativeWrapper(webNav.document, "title", "characterSet");
name = doc.title || url;
charset = doc.characterSet;
name = webNav.document.title || url;
charset = webNav.document.characterSet;
} catch (e) {
name = url;
}
@ -1550,9 +1549,8 @@ var BookmarksUtils = {
var url = aDocShell.currentURI.spec;
var title, docCharset = null;
try {
var doc = new XPCNativeWrapper(aDocShell.document, "title", "characterSet");
title = doc.title || url;
docCharset = doc.characterSet;
title = aDocShell.document.title || url;
docCharset = aDocShell.document.characterSet;
}
catch (e) {
title = url;