New issue
Advanced search Search tips

Issue 661835 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

MD Settings: Handle case when going back to a subpage after a search

Project Member Reported by dpa...@chromium.org, Nov 3 2016

Issue description

Search URLs have landed in MD settings. There is still a case that is not handled well, described below.

1) Navigate to a subpage, like chrome://md-settings/searchEngines
2) Trigger a search via the textbox (for example "cookies").
3) Click the "back" browser button (nothing happens).

The bug is happening because in the code there is currently no way to differentiate between the following two distinct cases.
a) Navigating from a highlighted top-level page to a highlighted subpageb (highlights should be preserved).
b) Navigating from a highlighted top-level page back to a previously shown (highlighted or not) subpage.

The code currently treats both a and b as a (which is a much more frequent case).
 
search_url_case.mp4
187 KB View Download
Cc: tommycli@chromium.org
Status: Started (was: Assigned)
Candidate fix for this is at https://codereview.chromium.org/2469393004. This makes our search URLs RESTful, even when inside a subpage. Still need to add some tests though.

Comment 3 by dpa...@chromium.org, Nov 10 2016

Status: Fixed (was: Started)

Sign in to add a comment