Favicon reloads on triggering location.replace or history.replaceState
Reported by
str...@gmail.com,
Aug 30 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Steps to reproduce the problem: 1. Open website with favicon and with '#something' in the end of URL, e.g. https://google.com/# 2. Open developers JavaScript console 3. Execute location.replace('#') or history.replaceState({}, '', '#') What is the expected behavior? If location.replace or history.replaceState did not cause page reloading then favicon should not reload and should be always visible What went wrong? Page does not reload (correct) but favicon reloads - see on tab Did this work before? N/A Chrome version: 52.0.2743.116 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0
,
Sep 13 2016
OK, definitely my change. The change removed the "in-page" navigation type in favor of "existing page" plus an "in-page" bit. The code that handles "existing page" does a bit more than the old "in-page" code, namely resetting the favicon for redirect page transitions. I'm not sure what that means. Investigating.
,
Sep 15 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cba7c6edb3c1eee02484e62e91c080b0603b41be commit cba7c6edb3c1eee02484e62e91c080b0603b41be Author: avi <avi@chromium.org> Date: Thu Sep 15 04:15:26 2016 Do not clear the favicon for an in-page navigation. BUG= 642302 , 28515 TEST=as in bug 642302 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2339673002 Cr-Commit-Position: refs/heads/master@{#418775} [modify] https://crrev.com/cba7c6edb3c1eee02484e62e91c080b0603b41be/content/browser/frame_host/navigation_controller_impl.cc [modify] https://crrev.com/cba7c6edb3c1eee02484e62e91c080b0603b41be/content/browser/frame_host/navigation_controller_impl_browsertest.cc
,
Sep 15 2016
That should fix it! |
||
►
Sign in to add a comment |
||
Comment 1 by kavvaru@chromium.org
, Sep 1 2016Labels: -Type-Bug M-55 hasbisect OS-Linux OS-Mac Type-Bug-Regression
Owner: a...@chromium.org
Status: Assigned (was: Unconfirmed)