mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 21:42:26 +01:00
Use a Gecko version check for determing URL in :pageinfo s.
This commit is contained in:
@@ -2929,11 +2929,8 @@ Buffer.addPageInfoSection("s", "Security", function* (verbose) {
|
||||
|
||||
yield ["Verified by", data.caOrg];
|
||||
|
||||
let uri = identity._lastUri;
|
||||
if (uri === undefined)
|
||||
uri = identity._uri;
|
||||
|
||||
let { host, port } = uri;
|
||||
let { host, port } = config.haveGecko("43") ? identity._uri :
|
||||
identity._lastUri;
|
||||
if (port == -1)
|
||||
port = 443;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user