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:
gavin%gavinsharp.com 2005-09-22 00:12:20 +00:00
parent de28998a23
commit c94c5ab1dc

View File

@ -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)