mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:07:59 +01:00
Add "io" to the services cache.
This commit is contained in:
@@ -434,8 +434,7 @@ const util = { //{{{
|
||||
// FIXME: createURI needed too?
|
||||
newURI: function (uri)
|
||||
{
|
||||
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
|
||||
return ioService.newURI(uri, null, null);
|
||||
return services.get("io").newURI(uri, null, null);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user