From 19fa2a54343b92df1c68114a8612703d63cc64a1 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Sat, 27 May 2000 05:49:34 +0000 Subject: [PATCH] Oops. I didn't need to do that. --- content/html/document/src/nsHTMLContentSink.cpp | 2 -- layout/html/document/src/nsHTMLContentSink.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 7e8f10183131..0c1c4f1b7219 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -3374,7 +3374,6 @@ HTMLContentSink::ProcessAREATag(const nsIParserNode& aNode) void HTMLContentSink::ProcessBaseHref(const nsString& aBaseHref) { -#if 0 //-- Make sure this page is allowed to load this URL nsresult rv; NS_WITH_SERVICE(nsIScriptSecurityManager, securityManager, @@ -3385,7 +3384,6 @@ HTMLContentSink::ProcessBaseHref(const nsString& aBaseHref) if (NS_FAILED(rv)) return; rv = securityManager->CheckLoadURI(mDocumentBaseURL, baseHrefURI, PR_FALSE); if (NS_FAILED(rv)) return; -#endif if (nsnull == mBody) { // still in real HEAD mHTMLDocument->SetBaseURL(aBaseHref); diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp index 7e8f10183131..0c1c4f1b7219 100644 --- a/layout/html/document/src/nsHTMLContentSink.cpp +++ b/layout/html/document/src/nsHTMLContentSink.cpp @@ -3374,7 +3374,6 @@ HTMLContentSink::ProcessAREATag(const nsIParserNode& aNode) void HTMLContentSink::ProcessBaseHref(const nsString& aBaseHref) { -#if 0 //-- Make sure this page is allowed to load this URL nsresult rv; NS_WITH_SERVICE(nsIScriptSecurityManager, securityManager, @@ -3385,7 +3384,6 @@ HTMLContentSink::ProcessBaseHref(const nsString& aBaseHref) if (NS_FAILED(rv)) return; rv = securityManager->CheckLoadURI(mDocumentBaseURL, baseHrefURI, PR_FALSE); if (NS_FAILED(rv)) return; -#endif if (nsnull == mBody) { // still in real HEAD mHTMLDocument->SetBaseURL(aBaseHref);