Bug 337970: assert that the bookmarks charset resolver doesn't ask to be notified of the final resolved charset, since we can't currently notify, r+sr=bzbarsky

This commit is contained in:
gavin%gavinsharp.com 2006-05-15 17:40:51 +00:00
Родитель 6aa56726d9
Коммит d5a5b1ade6
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -577,6 +577,9 @@ nsHTMLDocument::TryBookmarkCharset(nsIDocShell* aDocShell,
&wantCharset,
getter_AddRefs(closure),
charset);
// FIXME: Bug 337790
NS_ASSERTION(!wantCharset, "resolved charset notification not implemented!");
if (NS_SUCCEEDED(rv) && !charset.IsEmpty()) {
aCharset = charset;
aCharsetSource = kCharsetFromBookmarks;