Improve DCHECK coverage for investigating a crash.
Rarely, a subframe navigation to about:blank can have an ongoing activation throttle, which is unexpected and triggers a DCHECK. Such a navigation should not have a throttle created. We add a DCHECK to ensure a navigation with such a URL does not. We also temporarily add some DCHECKs that will provide some detail about the redirect chain when an unexpected filter is found. Finally, we add a DCHECK that covers uncommitted initial loads. These will only trigger when the original DCHECK already would have; which DCHECK triggers will tell us details about the navigation. Bug: 1155870 Change-Id: Id6ba3f47f75ef871456c2bd311995b4f7ff2ddab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576433 Commit-Queue: Alex Turner <alexmt@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#836773}
Showing
Please register or sign in to comment