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

Issue 2504483002: MD Settings: Fix popstate behavior from section route to section route. (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: Fix popstate behavior from section route to section route. Fixes this case: 1. Navigate to a section using the left menu. 2. Navigate to a different section using the left menu. 3. Press Back. 4. Observe nothing happens. BUG=664070 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/7f225c70775269836739cbd735f7d84919b505d2 Cr-Commit-Position: refs/heads/master@{#432298}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : fix closure compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M chrome/browser/resources/settings/settings_page/main_page_behavior.js View 1 2 4 chunks +15 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (13 generated)
tommycli
dbeam: PTAL - this fixes the popstates that occur from one section to another. i.e. ...
4 years, 1 month ago (2016-11-15 00:37:01 UTC) #3
Dan Beam
lgtm worth writing a test? https://codereview.chromium.org/2504483002/diff/1/chrome/browser/resources/settings/settings_page/main_page_behavior.js File chrome/browser/resources/settings/settings_page/main_page_behavior.js (right): https://codereview.chromium.org/2504483002/diff/1/chrome/browser/resources/settings/settings_page/main_page_behavior.js#newcode29 chrome/browser/resources/settings/settings_page/main_page_behavior.js:29: // any popstate navigations ...
4 years, 1 month ago (2016-11-15 01:24:22 UTC) #4
tommycli
thanks! The test strikes me as too hard to write to be worth it because: ...
4 years, 1 month ago (2016-11-15 21:18:23 UTC) #5
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/2504483002/40001
4 years, 1 month ago (2016-11-15 23:55:00 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-16 00:04:26 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 00:08:46 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7f225c70775269836739cbd735f7d84919b505d2
Cr-Commit-Position: refs/heads/master@{#432298}

Powered by Google App Engine
This is Rietveld 408576698