New issue
Advanced search Search tips

Issue 707305 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug

Blocked on:
issue 307072



Sign in to add a comment

Omnibox randomly disappears and appears

Project Member Reported by jasonkliu@chromium.org, Mar 31 2017

Issue description

App Version (from "Chrome Settings > About Chrome"): 59.0.3057.0 canary
iOS Version: 10.3.2b1
Device: 6S

Steps to reproduce: 
1. Load the webpage: https://ghibliapi.herokuapp.com/#section/Studio-Ghibli-API
2. Scroll up and down

Observed behavior: 
Omnibox disappears and appears both going up and down the page.

Expected behavior: 
Omnibox should not disappear and reappear.

Frequency: 5/5
<number of times you were able to reproduce> 

Additional comments: 
Video here: https://drive.google.com/open?id=0B3dPCXKQYa2dUlRZbExHZTlwcms
I didn't tap the omnibox at all.  I just scrolled up and down the page.
 
Cc: eugene...@chromium.org
Labels: M-59
Owner: michaeldo@chromium.org
Status: Assigned (was: Untriaged)
Looks related to full screen improperly triggered. Does it happen in earlier versions?
Cc: shbarezer@chromium.org
Components: -UI>Browser>Omnibox UI>Browser>FullScreen
Looks like the page constantly changes URL fragment. WebStateObserver allows distinguishing between same document navigations and real navigation.
Blockedon: 307072
From offline conversations with michaeldo, it seems that this is occurring because the page is continuously calling window.location.replace() to set the current URL.  Because WKWebView's window.location.replace() is non-overridable, we are counting each of these as a new navigation and A) showing the toolbar via the fullscreen controller, and B) adding a bunch of NavigationItems to our history.
Cc: kkhorimoto@chromium.org
How do we handle window.location.replace in WebController? I thought it happens in |URLDidChangeWithoutDocumentChange|, which sends SamePage navigation callback and Tab could ignore it by checking NavigationContext::IsSamePage() flag.
Status: Fixed (was: Assigned)
Please retest. Can't repro anymore.
Status: WontFix (was: Fixed)
Tested on 69.0.3497.50 Beta,  iPhone X iOS 11.4.1, iPhone 7 iOS 12.0beta8
issue is not repro.

Sign in to add a comment