зеркало из https://github.com/mozilla/gecko-dev.git
Change common NS_ASSERTION (bug 404693) to NS_WARN_IF_FALSE so we can make progress on making assertions be reftest failures (bug 472557). r=bzbarsky
This commit is contained in:
Родитель
0df9e7aa44
Коммит
186679f245
|
@ -836,8 +836,8 @@ nsSHistory::EvictWindowContentViewers(PRInt32 aFromIndex, PRInt32 aToIndex)
|
|||
nsCOMPtr<nsISHEntry> ownerEntry;
|
||||
entry->GetAnyContentViewer(getter_AddRefs(ownerEntry),
|
||||
getter_AddRefs(viewer));
|
||||
NS_ASSERTION(!viewer,
|
||||
"ContentViewer exists outside gHistoryMaxViewer range");
|
||||
NS_WARN_IF_FALSE(!viewer,
|
||||
"ContentViewer exists outside gHistoryMaxViewer range");
|
||||
}
|
||||
|
||||
nsISHTransaction *temp = trans;
|
||||
|
|
Загрузка…
Ссылка в новой задаче