mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 07:44:14 +01:00
Add first crude binary module implementation.
This commit is contained in:
@@ -344,7 +344,7 @@ var IO = Module("io", {
|
||||
return uri;
|
||||
|
||||
let channel = services.io.newChannelFromURI(uri);
|
||||
channel.cancel(Cr.NS_BINDING_ABORTED);
|
||||
try { channel.cancel(Cr.NS_BINDING_ABORTED); } catch (e) {}
|
||||
if (channel instanceof Ci.nsIJARChannel)
|
||||
return channel.URI.QueryInterface(Ci.nsIJARURI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user