trivial patch to make what is supposed to be a warning really a warning instead of an assert. rs=jband

This commit is contained in:
jband%netscape.com 2001-11-22 23:26:34 +00:00
Родитель afaccc2790
Коммит f92134404a
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -956,7 +956,7 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aSourceURI, nsIURI *aTargetURI,
// If we reach here, we have an unknown protocol. Warn, but allow.
// This is risky from a security standpoint, but allows flexibility
// in installing new protocol handlers after initial ship.
NS_WARN_IF_FALSE(PR_FALSE, "unknown protocol in nsScriptSecurityManager::CheckLoadURI");
NS_WARNING("unknown protocol in nsScriptSecurityManager::CheckLoadURI");
return NS_OK;
}