New issue
Advanced search Search tips

Issue 854174 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Nov 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Shows incorrect entries in forward history pop up

Project Member Reported by subhashi...@chromium.org, Jun 19 2018

Issue description

App Version: 69.0.3465.0 canary
iOS Version: 10.3.3, 11.4, 11.4.1 beta 2
Devices: iPhone 7 Plus, iPhone 8 Plus, iPad Mini

Prerequisite:
Enable #slim-navigation-manager flag from chrome://flags


Steps to reproduce:
1. Launch iOS Chrome
2. Navigate to plus.google.com or mobile.twitter.com
3. Create some navigation history (ex. Home>Discover>Communities>Profile>Notifications)
4. Edge swipe from left to right until it reaches ‘Home’
5. Long Press on Forward arrow

Observed results:
Shows incorrect entries in the forward history pop up

Note: 
This is just a UI issue. Edge swiping from right to left, navigates to correct page
Long press on Back arrow displays correct entries in history pop up

Expected results:
Should display correct entries in forward history popup

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Safari/Firefox: Firefox: No, Safari: No
Bug reproducible on the current stable build :M67, Yes
Bug reproducible on the current beta channel build :M68, Yes

Type-bug-regression? No

Link to Image/Video
https://drive.google.com/open?id=1KvRNud-nsUkUPUSinswRpfzn6xLZMSmr

 

Comment 1 by sczs@chromium.org, Jun 20 2018

Owner: danyao@chromium.org
Status: Assigned (was: Untriaged)
danyao@ could you PTAL?

Comment 2 by danyao@chromium.org, Jun 20 2018

It looks like maybe the wrong NavigationItem is associated to the WKBackForwardListItem. I'm away from my desktop now. Will investigate later.
Labels: ReleaseBlock-Stable M-71
Note for self: test with Safari user agent.
Labels: -M-71 M-72
Labels: Proj-WKBackForwardListBlocker
Labels: -ReleaseBlock-Stable -M-72
Owner: justincohen@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 10 by bugdroid1@chromium.org, Nov 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/594f66a8db0a96124dc39c54eb5dea590d1232a3

commit 594f66a8db0a96124dc39c54eb5dea590d1232a3
Author: Justin Cohen <justincohen@google.com>
Date: Tue Nov 27 17:58:04 2018

[Nav Experiment] Correct navItem title usage.

- Work around pushState changes that overwrite the navigation item
title on pushState.  The root cause of the bug is crbug.com/908173.

- Correctly set navigation item titles on restore.

Bug:  854174 ,  872211 
Change-Id: Ife407429d7f2723fc9dac6458bf81bdb1ae64ff8
Reviewed-on: https://chromium-review.googlesource.com/c/1349776
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: Danyao Wang <danyao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611180}
[modify] https://crrev.com/594f66a8db0a96124dc39c54eb5dea590d1232a3/ios/web/navigation/wk_based_navigation_manager_impl.mm
[modify] https://crrev.com/594f66a8db0a96124dc39c54eb5dea590d1232a3/ios/web/navigation/wk_based_navigation_manager_impl_unittest.mm
[modify] https://crrev.com/594f66a8db0a96124dc39c54eb5dea590d1232a3/ios/web/web_state/ui/crw_web_controller.mm
[modify] https://crrev.com/594f66a8db0a96124dc39c54eb5dea590d1232a3/ios/web/web_state/web_state_unittest.mm

Status: Fixed (was: Started)
Status: Verified (was: Fixed)
Verified in 73.0.3629.0 Canary in iPad Air(iOS 12.0.1) and iPhone 8plus(iOS 11.4.1)

Followed the steps mentioned in comment#0. correct entries are shown in forward history popup, looks good.

Link to video:
https://drive.google.com/file/d/1faKe9VXoDxzxrebW2pcxd25YrXPgQCF9/view?usp=sharing

Sign in to add a comment