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

Issue 555163007: Settings: manage location.hash explicitly on a Page. (Closed)

Created:
6 years, 3 months ago by davidben
Modified:
6 years, 3 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Settings: manage location.hash explicitly on a Page. Maintain the current hash associated each Page's state and use that rather than querying location.hash directly. This fixes several long-standing issues with the settings search page and the back/forward list: - Opening an overlay from a search page no longer keeps the fragment in the URL. - Closing an overlay no longer loses the search in the URL. - Navigating back from one search page to another actually works. - Navigating back from the search page doesn't clear the search box. Add tests for this behavior. BUG=410204 Committed: https://crrev.com/3c4d33472f6cf253d5cfbc38f3620f2f4d282ad6 Cr-Commit-Position: refs/heads/master@{#294614}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : help.js #

Total comments: 8

Patch Set 4 : dbeam comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -60 lines) Patch
M chrome/browser/resources/help/help.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/content_settings.js View 1 chunk +2 lines, -10 lines 0 comments Download
M chrome/browser/resources/options/content_settings_exceptions_area.js View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/options.js View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/search_page.js View 1 2 3 4 chunks +20 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/options/options_browsertest.js View 1 3 chunks +57 lines, -18 lines 0 comments Download
M ui/webui/resources/js/cr/ui/page_manager/page.js View 1 2 3 3 chunks +20 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/page_manager/page_manager.js View 1 2 3 12 chunks +32 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
davidben
Known issue, but probably not very important: possibly the page state associated with each entry ...
6 years, 3 months ago (2014-09-10 22:53:38 UTC) #2
Dan Beam
https://codereview.chromium.org/555163007/diff/40001/chrome/browser/resources/options/search_page.js File chrome/browser/resources/options/search_page.js (right): https://codereview.chromium.org/555163007/diff/40001/chrome/browser/resources/options/search_page.js#newcode174 chrome/browser/resources/options/search_page.js:174: /** @override */ https://codereview.chromium.org/555163007/diff/40001/ui/webui/resources/js/cr/ui/page_manager/page.js File ui/webui/resources/js/cr/ui/page_manager/page.js (right): https://codereview.chromium.org/555163007/diff/40001/ui/webui/resources/js/cr/ui/page_manager/page.js#newcode67 ui/webui/resources/js/cr/ui/page_manager/page.js:67: ...
6 years, 3 months ago (2014-09-11 21:38:36 UTC) #3
davidben
https://codereview.chromium.org/555163007/diff/40001/chrome/browser/resources/options/search_page.js File chrome/browser/resources/options/search_page.js (right): https://codereview.chromium.org/555163007/diff/40001/chrome/browser/resources/options/search_page.js#newcode174 chrome/browser/resources/options/search_page.js:174: On 2014/09/11 21:38:35, Dan Beam wrote: > /** @override ...
6 years, 3 months ago (2014-09-12 00:32:35 UTC) #4
Dan Beam
lgtm
6 years, 3 months ago (2014-09-12 03:13:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/555163007/60001
6 years, 3 months ago (2014-09-12 14:21:42 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/13655)
6 years, 3 months ago (2014-09-12 15:40:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/555163007/60001
6 years, 3 months ago (2014-09-12 17:17:54 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 7c4d271df006d037e665a1e1aad89c2b966c9eac
6 years, 3 months ago (2014-09-12 18:11:20 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 18:30:07 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3c4d33472f6cf253d5cfbc38f3620f2f4d282ad6
Cr-Commit-Position: refs/heads/master@{#294614}

Powered by Google App Engine
This is Rietveld 408576698