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

Issue 137803008: cros: Update SAML flow. (Closed)

Created:
6 years, 10 months ago by xiyuan
Modified:
6 years, 10 months ago
CC:
chromium-reviews, arv+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

cros: Update SAML flow. - Update password confirm UI per mock; - Show password confirm UI with an error message after 1st failed attempt; - Rename message box screen to fatal error screen; - Show fatal error screen on 2nd failed attempt; BUG=330206 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248893

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : rebase #

Patch Set 4 : update strings #

Total comments: 4

Patch Set 5 : split gaia.css #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -205 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 6 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/login/oobe_display.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 1 2 2 chunks +28 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/display_manager.js View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/resources/chromeos/login/gaia.css View 1 2 3 4 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/header_bar.js View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/login_common.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/login_resources.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/login_screens.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/oobe.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screens.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_confirm_password.css View 1 2 3 4 1 chunk +37 lines, -7 lines 2 comments Download
M chrome/browser/resources/chromeos/login/screen_confirm_password.html View 1 2 3 4 1 chunk +17 lines, -5 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_confirm_password.js View 2 chunks +11 lines, -18 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_container.css View 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/browser/resources/chromeos/login/screen_fatal_error.css View 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/login/screen_fatal_error.html View 1 chunk +15 lines, -0 lines 0 comments Download
A + chrome/browser/resources/chromeos/login/screen_fatal_error.js View 3 chunks +9 lines, -28 lines 2 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 5 chunks +25 lines, -7 lines 0 comments Download
D chrome/browser/resources/chromeos/login/screen_message_box.css View 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/browser/resources/chromeos/login/screen_message_box.html View 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/browser/resources/chromeos/login/screen_message_box.js View 1 chunk +0 lines, -78 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
xiyuan
PTAL. Will update screenshots to bug.
6 years, 10 months ago (2014-01-31 21:39:23 UTC) #1
xiyuan
nkostylev, could you help to review the CL? Thanks.
6 years, 10 months ago (2014-02-04 15:59:34 UTC) #2
bartfab (slow)
lgtm https://codereview.chromium.org/137803008/diff/140001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/137803008/diff/140001/chrome/app/chromeos_strings.grdp#newcode1321 chrome/app/chromeos_strings.grdp:1321: <message name="IDS_LOGIN_CONFIRM_PASSWORD_ERROR_TEXT" desc="Error text to show when the ...
6 years, 10 months ago (2014-02-04 20:10:47 UTC) #3
xiyuan
https://codereview.chromium.org/137803008/diff/140001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/137803008/diff/140001/chrome/app/chromeos_strings.grdp#newcode1321 chrome/app/chromeos_strings.grdp:1321: <message name="IDS_LOGIN_CONFIRM_PASSWORD_ERROR_TEXT" desc="Error text to show when the user ...
6 years, 10 months ago (2014-02-04 21:23:10 UTC) #4
xiyuan
The CQ bit was checked by xiyuan@chromium.org
6 years, 10 months ago (2014-02-05 01:19:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/137803008/300001
6 years, 10 months ago (2014-02-05 03:48:38 UTC) #6
commit-bot: I haz the power
Change committed as 248893
6 years, 10 months ago (2014-02-05 07:10:20 UTC) #7
Nikita (slow)
lgtm https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resources/chromeos/login/screen_confirm_password.css File chrome/browser/resources/chromeos/login/screen_confirm_password.css (right): https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resources/chromeos/login/screen_confirm_password.css#newcode50 chrome/browser/resources/chromeos/login/screen_confirm_password.css:50: <include src="gaia.css"> Who else includes this CSS? https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resources/chromeos/login/screen_fatal_error.js ...
6 years, 10 months ago (2014-02-06 05:08:25 UTC) #8
xiyuan
6 years, 10 months ago (2014-02-06 05:46:04 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/screen_confirm_password.css
(right):

https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/screen_confirm_password.css:50: <include
src="gaia.css">
On 2014/02/06 05:08:25, Nikita Kostylev wrote:
> Who else includes this CSS?

This is the only webui uses it right now. Put it in a separate CSS to make it
easier to share it. This CSS is a subset of offline.css (from real gaia). I have
not find a good way share them.

https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resource...
File chrome/browser/resources/chromeos/login/screen_fatal_error.js (right):

https://codereview.chromium.org/137803008/diff/300001/chrome/browser/resource...
chrome/browser/resources/chromeos/login/screen_fatal_error.js:50:
Oobe.getInstance().headerHidden = true;
On 2014/02/06 05:08:25, Nikita Kostylev wrote:
> nit: When does this header will be restored if we return back to the user
pods?
> 

Right now it is okay because we always go back to Gaia after this error and Gaia
shows header. But you are right, we probably should restore this in onDismiss in
case the callback is changed in the future. I will do that in a follow up CL.

Powered by Google App Engine
This is Rietveld 408576698