mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
838b5e4e48
569 changed files with 1183 additions and 62621 deletions
|
|
@ -202,7 +202,7 @@ this.LoginHelper = {
|
|||
return true;
|
||||
}
|
||||
} catch (ex) {
|
||||
// newURI will throw for some values e.g. chrome://FirefoxAccounts
|
||||
// newURI will throw for some values
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -406,7 +406,7 @@ this.LoginHelper = {
|
|||
try {
|
||||
preferredOriginScheme = Services.io.newURI(preferredOrigin, null, null).scheme;
|
||||
} catch (ex) {
|
||||
// Handle strings that aren't valid URIs e.g. chrome://FirefoxAccounts
|
||||
// Handle strings that aren't valid URIs
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -457,7 +457,7 @@ this.LoginHelper = {
|
|||
|
||||
return loginURI.scheme == preferredOriginScheme;
|
||||
} catch (ex) {
|
||||
// Some URLs aren't valid nsIURI (e.g. chrome://FirefoxAccounts)
|
||||
// Some URLs aren't valid nsIURI
|
||||
log.debug("dedupeLogins/shouldReplaceExisting: Error comparing schemes:",
|
||||
existingLogin.hostname, login.hostname,
|
||||
"preferredOrigin:", preferredOrigin, ex);
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ LoginManagerStorage_mozStorage.prototype = {
|
|||
params["http" + field] = "http://" + valueURI.hostPort;
|
||||
}
|
||||
} catch (ex) {
|
||||
// newURI will throw for some values (e.g. chrome://FirefoxAccounts)
|
||||
// newURI will throw for some values
|
||||
// but those URLs wouldn't support upgrades anyways.
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue