trivial patch to make what is supposed to be a warning really a warning instead of an assert. rs=jband
git-svn-id: svn://10.0.0.236/trunk@108827 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3a151b5003
commit
2f06cb4e7d
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user