commit | 3cd9c072cec9cef3357ac2d7cf95010ef5bade24 | [log] [tgz] |
---|---|---|
author | Marijn Kruisselbrink <mek@chromium.org> | Sat Jan 12 01:24:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Jan 12 01:24:26 2019 |
tree | ae74acdbd4c060151aacca265ba8fc5cecfa8a4a | |
parent | 7bedae77a0a6cace5227e7b3cb56a8602588fe48 [diff] |
[AppCache] ReportBadMessage rather than DCHECK for first_party_url_ check. If first_party_url_ hasn't been initialized when SelectCache is called it means the renderer is somehow trying to select a Cache for a main resource that was never actually fetched. That is only possible if the renderer is misbehaving, so return false to trigger a mojo::ReportBadMessage. Bug: 917827 Change-Id: I9c02a6ea4ea328c736f24cf2b2666363192de03f Reviewed-on: https://chromium-review.googlesource.com/c/1407910 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#622250}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .