#if-0 out mstoltz's changes to fix tinderbox.

git-svn-id: svn://10.0.0.236/trunk@70994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
2000-05-27 05:22:39 +00:00
parent d7b932b44c
commit 4a050fe624
3 changed files with 9 additions and 3 deletions

View File

@@ -1282,7 +1282,8 @@ CSSLoaderImpl::LoadStyleLink(nsIContent* aElement,
if (! mDocument) {
return NS_ERROR_NOT_INITIALIZED;
}
#if 0
//-- Make sure this page is allowed to load this URL
nsresult rv;
NS_WITH_SERVICE(nsIScriptSecurityManager, secMan, NS_SCRIPTSECURITYMANAGER_PROGID, &rv);
@@ -1293,6 +1294,7 @@ CSSLoaderImpl::LoadStyleLink(nsIContent* aElement,
rv = secMan->CheckLoadURI(docURI, aURL, PR_FALSE);
NS_IF_RELEASE(docURI);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
#endif
// XXX need to add code to cancel any pending sheets for element
nsresult result = NS_ERROR_NULL_POINTER;