mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
testing possible fix for deserializing feeds with empty site urls
This commit is contained in:
parent
8e716dce30
commit
6e1eec843c
@ -1543,8 +1543,10 @@ function makeFile(path) {
|
||||
}
|
||||
|
||||
function makeURI(URIString) {
|
||||
var ioservice = Cc["@mozilla.org/network/io-service;1"].
|
||||
getService(Ci.nsIIOService);
|
||||
if (URIString === null || URIString == "")
|
||||
return null;
|
||||
let ioservice = Cc["@mozilla.org/network/io-service;1"].
|
||||
getService(Ci.nsIIOService);
|
||||
return ioservice.newURI(URIString, null, null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user