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

Issue 2375223002: md-settings: Fix back navigation from /resetProfileSettings. (Closed)

Created:
4 years, 2 months ago by alito
Modified:
4 years, 2 months ago
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, Dan Beam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

md-settings: Fix back navigation from /resetProfileSettings. BUG=650976 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/8c6716bef630b4eeca64d23a7396ff06db1e4083 Cr-Commit-Position: refs/heads/master@{#424105}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Nit #

Patch Set 3 : Updated tests. #

Total comments: 6

Patch Set 4 : Fixed promise chains #

Total comments: 5

Patch Set 5 : Moved and renamed flush() #

Patch Set 6 : Added back the call to Polymer.dom.flush() #

Patch Set 7 : Rebase #

Patch Set 8 : Fix failing test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -144 lines) Patch
M chrome/browser/resources/settings/reset_page/reset_page.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.js View 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_profile_banner.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_profile_banner.js View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_profile_dialog.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_drawer_test.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 2 3 4 8 chunks +10 lines, -10 lines 0 comments Download
M chrome/test/data/webui/md_history/history_item_test.js View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 4 5 6 22 chunks +36 lines, -36 lines 0 comments Download
M chrome/test/data/webui/md_history/history_metrics_test.js View 1 2 3 4 9 chunks +15 lines, -15 lines 0 comments Download
M chrome/test/data/webui/md_history/history_routing_test.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/history_supervised_user_test.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 3 4 5 6 24 chunks +28 lines, -28 lines 0 comments Download
M chrome/test/data/webui/md_history/history_toolbar_test.js View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/test/data/webui/md_history/test_util.js View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/test/data/webui/polymer_browser_test_base.js View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/reset_page_test.js View 1 2 3 4 5 6 7 3 chunks +24 lines, -15 lines 0 comments Download

Messages

Total messages: 60 (37 generated)
alito
This fixes an issue with navigating back after visiting chrome://settings/resetProfileSettings. I have tested this manually ...
4 years, 2 months ago (2016-09-28 21:43:17 UTC) #3
Dan Beam
-dbeam, +tommycli for this one
4 years, 2 months ago (2016-09-28 21:45:03 UTC) #7
tommycli
lgtm except: https://codereview.chromium.org/2375223002/diff/1/chrome/browser/resources/settings/reset_page/reset_page.html File chrome/browser/resources/settings/reset_page/reset_page.html (right): https://codereview.chromium.org/2375223002/diff/1/chrome/browser/resources/settings/reset_page/reset_page.html#newcode21 chrome/browser/resources/settings/reset_page/reset_page.html:21: id="resetProfileDialog" restamp> Do you still need to ...
4 years, 2 months ago (2016-09-28 21:59:27 UTC) #9
alito
Removed unused ID. https://codereview.chromium.org/2375223002/diff/1/chrome/browser/resources/settings/reset_page/reset_page.html File chrome/browser/resources/settings/reset_page/reset_page.html (right): https://codereview.chromium.org/2375223002/diff/1/chrome/browser/resources/settings/reset_page/reset_page.html#newcode21 chrome/browser/resources/settings/reset_page/reset_page.html:21: id="resetProfileDialog" restamp> On 2016/09/28 21:59:26, tommycli ...
4 years, 2 months ago (2016-09-28 22:10:33 UTC) #10
tommycli
thanks still lgtm
4 years, 2 months ago (2016-09-28 22:18:13 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/2375223002/20001
4 years, 2 months ago (2016-09-28 22:20:56 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/304657)
4 years, 2 months ago (2016-09-28 23:06:25 UTC) #15
alito
Quick update: I didn't realize that the tests had to be updated as well. Still ...
4 years, 2 months ago (2016-09-29 17:17:24 UTC) #16
alito
Ok, so tests should be fixed now. Took forever to figure out that Polymer.dom.flush() isn't ...
4 years, 2 months ago (2016-09-30 01:42:10 UTC) #19
tommycli
alito, thanks for taking another look. I have some additional suggestions below, but this is ...
4 years, 2 months ago (2016-10-03 20:47:46 UTC) #22
tommycli
On 2016/10/03 20:47:46, tommycli wrote: > alito, thanks for taking another look. I have some ...
4 years, 2 months ago (2016-10-03 20:56:30 UTC) #23
tommycli
On 2016/10/03 20:56:30, tommycli wrote: > On 2016/10/03 20:47:46, tommycli wrote: > > alito, thanks ...
4 years, 2 months ago (2016-10-03 20:59:17 UTC) #24
alito
Thanks Tommy for your suggestions. The promise chains look much better now, and safer. This ...
4 years, 2 months ago (2016-10-03 23:27:18 UTC) #27
michaelpg
https://codereview.chromium.org/2375223002/diff/60001/chrome/test/data/webui/test_util.js File chrome/test/data/webui/test_util.js (right): https://codereview.chromium.org/2375223002/diff/60001/chrome/test/data/webui/test_util.js#newcode9 chrome/test/data/webui/test_util.js:9: function flush() { please don't call this "flush" -- ...
4 years, 2 months ago (2016-10-04 05:40:49 UTC) #31
alito
Michael, I have addressed your comments. Two tests are failing on the bots, but there ...
4 years, 2 months ago (2016-10-04 21:22:59 UTC) #36
michaelpg
lgtm https://codereview.chromium.org/2375223002/diff/60001/chrome/test/data/webui/test_util.js File chrome/test/data/webui/test_util.js (right): https://codereview.chromium.org/2375223002/diff/60001/chrome/test/data/webui/test_util.js#newcode9 chrome/test/data/webui/test_util.js:9: function flush() { On 2016/10/04 21:22:59, alito wrote: ...
4 years, 2 months ago (2016-10-04 22:12:15 UTC) #37
alito
Michael, I added back the Polymer.dom.flush() call and that seems to have fixed one of ...
4 years, 2 months ago (2016-10-05 00:02:12 UTC) #42
michaelpg
+calamity for test failure
4 years, 2 months ago (2016-10-05 19:08:04 UTC) #44
alito
Michael, I have rebased and fixed the reset page test and all tests are passing ...
4 years, 2 months ago (2016-10-07 18:32:42 UTC) #50
michaelpg
slgtm
4 years, 2 months ago (2016-10-08 07:49:11 UTC) #53
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/2375223002/200001
4 years, 2 months ago (2016-10-09 17:50:01 UTC) #56
commit-bot: I haz the power
Committed patchset #8 (id:200001)
4 years, 2 months ago (2016-10-09 18:41:48 UTC) #58
commit-bot: I haz the power
4 years, 2 months ago (2016-10-09 18:44:14 UTC) #60
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8c6716bef630b4eeca64d23a7396ff06db1e4083
Cr-Commit-Position: refs/heads/master@{#424105}

Powered by Google App Engine
This is Rietveld 408576698