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

Issue 2498013003: MD Settings: Suppress the signout dialog if user is not signed in. (Closed)

Created:
4 years, 1 month ago by tommycli
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Suppress the signout dialog if user is not signed in. Recently we added the /signOut route for the navigable sign out dialog. This created problems, since the user can navigate there by URL (or have the URL in history) even if the user is not signed in. This CL adds logic to exit the sign out dialog route if the user is not signed in. BUG=661965 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/be82f91e1f87efcdb4328cb463db5359accb7e73 Cr-Commit-Position: refs/heads/master@{#432236}

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : solve flakiness #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -12 lines) Patch
M chrome/browser/resources/settings/people_page/people_page.js View 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/test/data/webui/settings/people_page_test.js View 1 2 2 chunks +39 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
tommycli
dbeam: PTAL, this fixes some wonkiness with users being able to access the /signOut route ...
4 years, 1 month ago (2016-11-14 23:48:34 UTC) #3
Dan Beam
lgtm but can haz tests?
4 years, 1 month ago (2016-11-15 01:30:46 UTC) #4
tommycli
dbeam: Thanks! I added a test. (And also fixed one source of test flakiness)
4 years, 1 month ago (2016-11-15 17:45:30 UTC) #5
Dan Beam
lgtm
4 years, 1 month ago (2016-11-15 19:11:40 UTC) #8
tommycli
On 2016/11/15 19:11:40, Dan Beam wrote: > lgtm Thank you! sending it in.
4 years, 1 month ago (2016-11-15 19:11:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2498013003/40001
4 years, 1 month ago (2016-11-15 19:12:18 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-15 19:50:03 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 20:20:22 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/be82f91e1f87efcdb4328cb463db5359accb7e73
Cr-Commit-Position: refs/heads/master@{#432236}

Powered by Google App Engine
This is Rietveld 408576698