New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 677491 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 663777
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

PlzNavigate: Bogus DidStart/FinishNavigation messages for browser-initiated same-page navigations

Project Member Reported by engedy@chromium.org, Dec 29 2016

Issue description

Suppose the last committed URL in a RFH is "http://foo.com/", and the frame is now navigated to "http://foo.com/#ref", initiated from the browser side (e.g. by the user typing in the omnibox).

WebContentsObservers see the following:

  DidStartNavigation("http://foo.com/#ref", is_same_page=false, ...)
  DidStartNavigation("http://foo.com/#ref", is_same_page=true, ...)
  DidFinishNavigation("http://foo.com/#ref", is_same_page=true, ...)
  DidFinishNavigation("http://foo.com/#ref", is_same_page=false, ...)

While this scenario is probably rare, this sequence of events seems a bit confusing to observers.
 

Comment 1 by clamy@chromium.org, Jan 9 2017

Mergedinto: 663777
Status: Duplicate (was: Untriaged)
This is due to browser-initiated same-site navigations being badly recognized in PlzNavigate.

Sign in to add a comment