Similar to the check in NavigationHandleImpl::WillProcessResponse which verifies that navitgations that should result in downloads never proceed.
The logic in ExtensionViewHost what can and what cannot be navigated to is a bit more complex, but we should have a check nevertheless
Comment 1 by bugdroid1@chromium.org
, Mar 20 2018