forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the failing tests on win-asan for [1]. Seems like returning an em…
…pty "username" as part of MakeUserNameForAccount() doesn't fail creation of user on some of the windows instances. This fix explicitly returns a failure when we want to fail the login UI instead of depending on "create user" to fail for "empty username" instead. Note that currently the error_text is set as IDS_INTERNAL_ERROR_BASE. Explicit error handling with appropriate error messages would be done in a followup change (already filed a bug for it). [1] https://chromium-review.googlesource.com/c/chromium/src/+/1659512/24 Bug: 976543 Change-Id: Ic4d92f5ef647d0f3cd5fd50c1f52b588c94a3afd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672234 Commit-Queue: Rakesh Soma <rakeshsoma@google.com> Reviewed-by: Tien Mai <tienmai@chromium.org> Cr-Commit-Position: refs/heads/master@{#672133}
- Loading branch information
Rakesh Soma
authored and
Commit Bot
committed
Jun 25, 2019
1 parent
f27ee9f
commit a299fab
Showing
10 changed files
with
648 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.