diff options
author | Moonchild <moonchild@palemoon.org> | 2019-04-18 15:49:19 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2019-04-18 15:49:19 +0000 |
commit | cdc962dca59f2d68b82bec99beb5d67ae163f24a (patch) | |
tree | 4ebeba312f6c5c09e27da7e7e2408c985065dcd5 /toolkit/components/passwordmgr | |
parent | 8a68832519ec37cc14f14367b83bfee34c88cde2 (diff) | |
download | UXP-cdc962dca59f2d68b82bec99beb5d67ae163f24a.tar UXP-cdc962dca59f2d68b82bec99beb5d67ae163f24a.tar.gz UXP-cdc962dca59f2d68b82bec99beb5d67ae163f24a.tar.lz UXP-cdc962dca59f2d68b82bec99beb5d67ae163f24a.tar.xz UXP-cdc962dca59f2d68b82bec99beb5d67ae163f24a.zip |
Remove various FxA tests
Diffstat (limited to 'toolkit/components/passwordmgr')
-rw-r--r-- | toolkit/components/passwordmgr/LoginHelper.jsm | 6 | ||||
-rw-r--r-- | toolkit/components/passwordmgr/storage-mozStorage.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/passwordmgr/LoginHelper.jsm b/toolkit/components/passwordmgr/LoginHelper.jsm index e0c4d872b..c6cd40915 100644 --- a/toolkit/components/passwordmgr/LoginHelper.jsm +++ b/toolkit/components/passwordmgr/LoginHelper.jsm @@ -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); diff --git a/toolkit/components/passwordmgr/storage-mozStorage.js b/toolkit/components/passwordmgr/storage-mozStorage.js index 7fc9e57fd..9da244f7a 100644 --- a/toolkit/components/passwordmgr/storage-mozStorage.js +++ b/toolkit/components/passwordmgr/storage-mozStorage.js @@ -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; |