From 2f06cb4e7d65df2daeb9137d93b133acb092b351 Mon Sep 17 00:00:00 2001 From: "jband%netscape.com" Date: Thu, 22 Nov 2001 23:26:34 +0000 Subject: [PATCH] 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 --- mozilla/caps/src/nsScriptSecurityManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/caps/src/nsScriptSecurityManager.cpp b/mozilla/caps/src/nsScriptSecurityManager.cpp index 02af99bc0ac..83fc9f32eb7 100644 --- a/mozilla/caps/src/nsScriptSecurityManager.cpp +++ b/mozilla/caps/src/nsScriptSecurityManager.cpp @@ -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; }