зеркало из https://github.com/mozilla/pjs.git
Fix bug 313961: avoid making history items in the UI for "hidden" global history entries, such as those for subframes.
This commit is contained in:
Родитель
40ff226fe9
Коммит
8c82ffde3a
|
@ -836,7 +836,8 @@ NS_IMPL_ISUPPORTS1(nsHistoryObserver, nsIHistoryObserver);
|
|||
historyEnumerator->GetNext(getter_AddRefs(thisEntry));
|
||||
|
||||
nsCOMPtr<nsIHistoryItem> thisItem = do_QueryInterface(thisEntry);
|
||||
if (thisItem)
|
||||
PRBool hidden;
|
||||
if (thisItem && NS_SUCCEEDED(thisItem->GetHidden(&hidden)) && !hidden)
|
||||
{
|
||||
HistorySiteItem* item = [[HistorySiteItem alloc] initWithDataSource:self historyItem:thisItem];
|
||||
[mHistoryItems addObject:item];
|
||||
|
|
Загрузка…
Ссылка в новой задаче