Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Issue 2950563002: Fix in-document navigations breaking icons from Web Manifests (Closed)

Created:
3 years, 6 months ago by mastiz
Modified:
3 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, browser-components-watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix in-document navigations breaking icons from Web Manifests Content notifies with DidUpdateWebManifestURL() in page loads *unless* its a navigation within the same document. This requires handling those cases differently and hence not clearing the manifest URL, because otherwise the page is believed to contain no manifest. BUG=724832 Review-Url: https://codereview.chromium.org/2950563002 Cr-Commit-Position: refs/heads/master@{#483072} Committed: https://chromium.googlesource.com/chromium/src/+/406899d78bedbdb4d09f65f65991126e61a8e758

Patch Set 1 #

Patch Set 2 : Simplify test. #

Total comments: 1

Patch Set 3 : Wait for JS. #

Total comments: 10

Patch Set 4 : Addressed comment. #

Patch Set 5 : Adopted GetLastCommittedURL(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -54 lines) Patch
M chrome/browser/favicon/content_favicon_driver_browsertest.cc View 1 2 3 4 12 chunks +59 lines, -53 lines 0 comments Download
A chrome/test/data/favicon/pushstate_with_manifest.html View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M components/favicon/content/content_favicon_driver.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 36 (23 generated)
mastiz
3 years, 6 months ago (2017-06-19 18:34:00 UTC) #4
pkotwicz
Adding creis@ as a reviewer. creis@: Are there scenarios where content::NavigationHandle::IsSameDocument() is true but the ...
3 years, 6 months ago (2017-06-20 17:53:28 UTC) #9
Charlie Reis
On 2017/06/20 17:53:28, pkotwicz wrote: > Adding creis@ as a reviewer. > > creis@: Are ...
3 years, 6 months ago (2017-06-20 18:15:10 UTC) #11
arthursonzogni
On 2017/06/20 18:15:10, Charlie Reis (slow) wrote: > On 2017/06/20 17:53:28, pkotwicz wrote: > > ...
3 years, 6 months ago (2017-06-21 09:20:21 UTC) #12
pkotwicz
Thank you creis@ and arthursonzogni@ for the detailed explanation! I really appreciate it Based on ...
3 years, 6 months ago (2017-06-21 18:48:34 UTC) #13
mastiz
On 2017/06/21 18:48:34, pkotwicz wrote: > Thank you creis@ and arthursonzogni@ for the detailed explanation! ...
3 years, 6 months ago (2017-06-23 09:18:08 UTC) #14
pkotwicz
https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc File chrome/browser/favicon/content_favicon_driver_browsertest.cc (right): https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc#newcode110 chrome/browser/favicon/content_favicon_driver_browsertest.cc:110: required_url_ != web_contents()->GetVisibleURL()) { Should this be GetLastCommittedURL() instead? ...
3 years, 6 months ago (2017-06-23 17:52:20 UTC) #19
mastiz
PTAL! Sorry for the slow responses due to team conference. https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc File chrome/browser/favicon/content_favicon_driver_browsertest.cc (right): https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc#newcode110 ...
3 years, 5 months ago (2017-06-27 08:57:36 UTC) #22
pkotwicz
https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc File chrome/browser/favicon/content_favicon_driver_browsertest.cc (right): https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc#newcode110 chrome/browser/favicon/content_favicon_driver_browsertest.cc:110: required_url_ != web_contents()->GetVisibleURL()) { GetLastCommittedURL() is the typical function ...
3 years, 5 months ago (2017-06-27 15:21:13 UTC) #25
mastiz
PTAL. https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc File chrome/browser/favicon/content_favicon_driver_browsertest.cc (right): https://codereview.chromium.org/2950563002/diff/40001/chrome/browser/favicon/content_favicon_driver_browsertest.cc#newcode110 chrome/browser/favicon/content_favicon_driver_browsertest.cc:110: required_url_ != web_contents()->GetVisibleURL()) { On 2017/06/27 15:21:13, pkotwicz ...
3 years, 5 months ago (2017-06-28 09:02:14 UTC) #28
pkotwicz
LGTM. Thank you for bearing with me
3 years, 5 months ago (2017-06-28 18:22:27 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950563002/80001
3 years, 5 months ago (2017-06-28 18:25:00 UTC) #33
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 18:29:31 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/406899d78bedbdb4d09f65f65991...

Powered by Google App Engine
This is Rietveld 408576698