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:
Родитель
afaccc2790
Коммит
f92134404a
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче