зеркало из https://github.com/mozilla/pjs.git
Fixing NPN_GetURL (and others) with NULL target does not resolve relative URLs with document's BASE tag, bug 166861 r=anthonyd sr=jst
This commit is contained in:
Родитель
bcae2c7bfc
Коммит
1551c296d7
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче