mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Land forgotten second part of bug 306492: PFS doesn't take relative urls in pluginspage attribute into consideration, r=mconnor
This commit is contained in:
parent
de28998a23
commit
c94c5ab1dc
@ -732,11 +732,11 @@ function makeWebBrowserPersist()
|
||||
return Components.classes[persistContractID].createInstance(persistIID);
|
||||
}
|
||||
|
||||
function makeURI(aURL, aOriginCharset)
|
||||
function makeURI(aURL, aOriginCharset, aBaseURI)
|
||||
{
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Components.interfaces.nsIIOService);
|
||||
return ioService.newURI(aURL, aOriginCharset, null);
|
||||
return ioService.newURI(aURL, aOriginCharset, aBaseURI);
|
||||
}
|
||||
|
||||
function makeFileURI(aFile)
|
||||
|
Loading…
Reference in New Issue
Block a user