mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
f3ee4d03a2
commit
ef5a598558
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user