Fixing NPN_GetURL (and others) with NULL target does not resolve relative URLs with document's BASE tag, bug 166861 r=anthonyd sr=jst
git-svn-id: svn://10.0.0.236/trunk@129476 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
85cbbaf3a7
commit
6961591439
@ -5592,7 +5592,7 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL,
|
||||
if (NS_SUCCEEDED(rv) && doc)
|
||||
{
|
||||
nsCOMPtr<nsIURI> docURL;
|
||||
doc->GetDocumentURL(getter_AddRefs(docURL));
|
||||
doc->GetBaseURL(*getter_AddRefs(docURL));
|
||||
doc->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
|
||||
|
||||
// Create an absolute URL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user