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

Issue 760557 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug-Regression



Sign in to add a comment

On interstitials page, toolbar menu use previous page URL

Project Member Reported by olivierrobin@chromium.org, Aug 30 2017

Issue description

App Version (from "Chrome Settings > About Chrome"): 62.0.3200.0
iOS Version: 11 (likely other)
Device: iPhone

Steps to reproduce: 
1. Visit a webpage (https://www.google.com)
2. Visit a page with bad ssl (e.g. https://expired.badssl.com)
3. Open menu
4. Bookmark page

Observed behavior: 
Bookmark is added to URL in 1

Expected behavior: 
Bookmark is added to URL in 2

Frequency: 
5/5

Additional comments: 
Can reproduce in Stable.
Share menu availability is also depending on URL in one (unavailable if it is NTP, available on other URLs).

 

Comment 1 by jif@chromium.org, Aug 30 2017

Cc: -rohitrao@chromium.org eugene...@chromium.org
Components: -UI>Browser>Toolbar -UI>Browser>Interstitials UI>Browser>TabContents
Owner: kkhorimoto@chromium.org
May be related to the change in usage of the URLs exposed by tab/navigation manager.
Cc: kkhorimoto@chromium.org mrefaat@chromium.org danyao@chromium.org
Owner: danyao@chromium.org
Omnibox has always displayed the visible NavigationItem's virtual URL; this did not change during my refactor.  Sending to danyao since she's being refactoring navigation; this regression might be caused by one of her CLs.

Olvier, can you clarify about what you're referring to in the last line of your original post about the share menu?  This actually *is* one of the places that I touched while getting rid of |-currentURL|.
Share menu is not available on NTP. The share icon is disabled.
If you are an interstitial, icon is disabled if previous URL is NTP, enabled if it is not.
If you actually share the page, the URL shared is the one from the interstitial. (https://expired.badssl.com in the example)

Comment 4 by danyao@chromium.org, Aug 30 2017

Owner: kkhorimoto@chromium.org
This is a regression between M59 and M60. I don't think the recent refactor would have affected this since M60 was branched on May 26, before the refactor work started.

Comment 5 by danyao@chromium.org, Aug 30 2017

The share icon may be a separate issue from bookmark. The share icon seems to be a regression from M60 to M62.

How does the toolbar get the URL? Does it use Navigation Manager API? It could be that it's asking for the last committed item instead of visible item. We'd be looking at two separate code changes because the bookmark regression and share icon regression happened in different releases.


Owner: mrefaat@chromium.org
Over to Mohammed for navigation
Cc: -kkhorimoto@chromium.org
Components: -UI>Browser>TabContents UI>Browser>Bookmarks
Labels: -Type-Bug Type-Bug-Regression
Owner: kkhorimoto@chromium.org
Kurt, are you sure this regression is not caused by https://codereview.chromium.org/2816203002/patch/1/10001 ?

Does anyone see any indication than navigation code works incorrectly? 



This is still reproducing.
If site 1) google.com is already bookmarked, whenever you navigate to site 2)badssl... you will get Edit Bookmark -> google.com.
Kurt, PTAL at comment #7

Sign in to add a comment