Skip to content

Commit

Permalink
Bug 1847821 - Remove unneeded macOS version checks in OSKeyStore r=Gijs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorypappas committed Aug 11, 2023
1 parent 6fdd7dc commit 3fe473a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions toolkit/modules/OSKeyStore.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,8 @@ export var OSKeyStore = {
},

canReauth() {
// The OS auth dialog is not supported on macOS < 10.12
// (Darwin 16) due to various issues (bug 1622304 and bug 1622303).
// We have no support on linux (bug 1527745.)
if (
AppConstants.platform == "win" ||
AppConstants.isPlatformAndVersionAtLeast("macosx", "16")
) {
// We have no support on linux (bug 1527745)
if (AppConstants.platform == "win" || AppConstants.platform == "macosx") {
lazy.log.debug(
"canReauth, returning true, this._testReauth:",
this._testReauth
Expand Down

0 comments on commit 3fe473a

Please sign in to comment.