Index: content/browser/frame_host/navigation_request.cc |
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
index 49bed78f3fbaa04b4f4797391d347aadaca92e4a..6ffe7a6aff21d34913a9d505c01b61e81a48872b 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -450,6 +450,11 @@ void NavigationRequest::OnStartChecksComplete( |
return; |
} |
+ if (result == NavigationThrottle::BLOCK_REQUEST) { |
+ OnRequestFailed(false, net::ERR_BLOCKED_BY_CLIENT); |
+ return; |
+ } |
+ |
// Use the SiteInstance of the navigating RenderFrameHost to get access to |
// the StoragePartition. Using the url of the navigation will result in a |
// wrong StoragePartition being picked when a WebView is navigating. |