mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 14:52:28 +01:00
Fix crappy add-on manager icons.
This commit is contained in:
@@ -104,7 +104,7 @@ ProtocolBase.prototype = {
|
||||
| Ci.nsIProtocolHandler.URI_IS_LOCAL_RESOURCE,
|
||||
|
||||
newURI: function newURI(spec, charset, baseURI) {
|
||||
if (baseURI && baseURI.host === "data")
|
||||
if (baseURI && (!(baseURI instanceof Ci.nsIURL) || baseURI.host === "data"))
|
||||
baseURI = null;
|
||||
return services.URL(services.URL.URLTYPE_AUTHORITY,
|
||||
this.defaultPort, spec, charset, baseURI);
|
||||
|
||||
Reference in New Issue
Block a user