Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 996073002: Handle empty strings properly in passphrase creation dialog. (Closed)

Created:
5 years, 9 months ago by maxbogue
Modified:
5 years, 9 months ago
Reviewers:
nyquist, newt (away)
CC:
chromium-reviews, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@upstream-scf
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle empty strings properly in passphrase creation dialog. Previously this class would only possibly set the error message on certain conditions (the confirm passphrase field had focus or text), but would then incorrectly use the existence of that error as the validation for the text. Now those things are correctly decoupled. Additionally, the Ok button will now pop up an error instead of closing the dialog if pressed when the passphrases are invalid. BUG=461071, 466095 Committed: https://crrev.com/d269e7375f6220b71223351b2cdb9fc616d78442 Cr-Commit-Position: refs/heads/master@{#320630}

Patch Set 1 #

Patch Set 2 : Rebase on master. #

Total comments: 4

Patch Set 3 : Add missing space in comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -45 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java View 1 2 5 chunks +56 lines, -45 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
maxbogue
PTAL! I'll rebase this on master once the upstream change rolls downstream.
5 years, 9 months ago (2015-03-11 23:17:03 UTC) #2
nyquist
lgtm newt: Any thoughts on whether it's possible to use a different approach for ensuring ...
5 years, 9 months ago (2015-03-14 00:03:30 UTC) #4
newt (away)
https://codereview.chromium.org/996073002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java File chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java (right): https://codereview.chromium.org/996073002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java#newcode100 chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java:100: .setPositiveButton(R.string.ok, null) On 2015/03/14 00:03:30, nyquist wrote: > Is ...
5 years, 9 months ago (2015-03-14 00:27:11 UTC) #5
maxbogue
https://codereview.chromium.org/996073002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java File chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java (right): https://codereview.chromium.org/996073002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java#newcode111 chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java:111: // will close when the button is clickedregardless of ...
5 years, 9 months ago (2015-03-14 01:07:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996073002/40001
5 years, 9 months ago (2015-03-14 01:08:02 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-14 01:45:15 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-14 01:45:45 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d269e7375f6220b71223351b2cdb9fc616d78442
Cr-Commit-Position: refs/heads/master@{#320630}

Powered by Google App Engine
This is Rietveld 408576698