Fix relative URLs in 'pluginspage' attribute honor BASE tag bug 46405 a=av, sr=buster

git-svn-id: svn://10.0.0.236/trunk@86134 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2001-02-03 00:43:09 +00:00
parent 778fa387d4
commit 15aff1c4d0
2 changed files with 2 additions and 2 deletions

View File

@@ -1822,7 +1822,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetURL(const char *aURL, const char *aTarge
rv = GetDocument(getter_AddRefs(doc));
if (NS_SUCCEEDED(rv) && doc)
{
baseURL = doc->GetDocumentURL(); // gets the document's url
rv = doc->GetBaseURL(baseURL); // gets the document's url
}
else
{

View File

@@ -1822,7 +1822,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetURL(const char *aURL, const char *aTarge
rv = GetDocument(getter_AddRefs(doc));
if (NS_SUCCEEDED(rv) && doc)
{
baseURL = doc->GetDocumentURL(); // gets the document's url
rv = doc->GetBaseURL(baseURL); // gets the document's url
}
else
{