#if 0 out mstoltz's changes, which seem to cause tinderbox to hang on test #2

This commit is contained in:
waterson%netscape.com 2000-05-27 05:48:40 +00:00
Родитель 9d7267c466
Коммит 5e98f0dd1e
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -3374,6 +3374,7 @@ 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,
@ -3384,6 +3385,7 @@ 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);

Просмотреть файл

@ -3374,6 +3374,7 @@ 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,
@ -3384,6 +3385,7 @@ 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);