Temporarily disabled CheckURI so the Manage Bookmarks dialog and other windows work again. Norris will fix the window.open problem later.

git-svn-id: svn://10.0.0.236/trunk@46298 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
don%netscape.com 1999-09-08 04:25:14 +00:00
parent b052c8e4df
commit 3a21477635

View File

@ -107,6 +107,7 @@ nsScriptSecurityManager::CheckURI(nsIScriptContext *aContext,
nsIURI *aURI,
PRBool *aResult)
{
#if 0
nsXPIDLCString scheme;
if (NS_FAILED(aURI->GetScheme(getter_Copies(scheme))))
return NS_ERROR_FAILURE;
@ -172,6 +173,9 @@ nsScriptSecurityManager::CheckURI(nsIScriptContext *aContext,
JS_ReportError(cx, "illegal URL method '%s'", (const char *)spec);
}
#else
*aResult = PR_TRUE;
#endif
return NS_OK;
}