Fixing comments and assertion text. Bug 466681

This commit is contained in:
Boris Zbarsky
2008-11-26 13:48:36 -05:00
parent b8df859f2b
commit a3930dd775
2 changed files with 2 additions and 2 deletions

View File

@@ -713,7 +713,7 @@ nsDocShell::LoadURI(nsIURI * aURI,
{
NS_PRECONDITION(aLoadInfo || (aLoadFlags & EXTRA_LOAD_FLAGS) == 0,
"Unexpected flags");
NS_PRECONDITION((aLoadFlags & 0xf) == 0, "Should have these flags set");
NS_PRECONDITION((aLoadFlags & 0xf) == 0, "Should not have these flags set");
// Note: we allow loads to get through here even if mFiredUnloadEvent is
// true; that case will get handled in LoadInternal or LoadHistoryEntry.