New issue
Advanced search Search tips

Issue 703709 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

DCHECK hit when reloading from omnibox

Project Member Reported by olivierrobin@chromium.org, Mar 21 2017

Issue description

App Version (from "Chrome Settings > About Chrome"): Top of tree
iOS Version: All 
Device: All

Steps to reproduce: 
1. visit http://www.chromium.org
2. tap omnibox
3. tap enter


Observed behavior: 
DCHECK hit in |CRWWebController loadWithParams|
[0321/182024.588335:FATAL:crw_web_controller.mm(1807)] Check failed: self.nativeController || !(transition & ui::PAGE_TRANSITION_RELOAD) || self.navigationManagerImpl->GetTransientItem(). 
Not sure of the consequences in release.


 
Cc: justincohen@chromium.org
Components: UI>Browser>Omnibox
Labels: -Pri-2 Pri-3
This DCHECK is totally harmless for release builds. Justin, is there a reason why transition type is PAGE_TRANSITION_RELOAD instead of PAGE_TRANSITION_TYPED?
Owner: eugene...@chromium.org
We want omnibox interactions that look like reloads not to contribute to statistics as a typed navigation.  Reloads are not that strong a signal.  When a user reloads a page, using the omnibox or not, it does not necessarily provide evidence that the user has seen the URL and would want to navigate to the URL via typing in the omnibox.


Components: -UI>Browser>Omnibox
Labels: -Pri-3 Pri-1
Thanks! Sounds like that DCHECK should be removed from web controller.
Status: Started (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Mar 24 2017

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

commit e6eb96d661fb4e2ddf0ab5baaf6ee389854f0a86
Author: eugenebut <eugenebut@chromium.org>
Date: Fri Mar 24 16:05:17 2017

Removed invalid DCHECK from |loadWithParams:|.

Omnibox legitimately passes PAGE_TRANSITION_RELOAD for the same page
loads.

BUG= 703709 

Review-Url: https://codereview.chromium.org/2772903002
Cr-Commit-Position: refs/heads/master@{#459441}

[modify] https://crrev.com/e6eb96d661fb4e2ddf0ab5baaf6ee389854f0a86/ios/web/web_state/ui/crw_web_controller.mm

Status: Fixed (was: Started)

Sign in to add a comment