Index: content/browser/loader/navigation_resource_throttle.cc |
diff --git a/content/browser/loader/navigation_resource_throttle.cc b/content/browser/loader/navigation_resource_throttle.cc |
index 9112f7e8d8919dba6030a0eeae48843563e48c21..81952ba9a58da18b941d10acfbfc8310a3878b6c 100644 |
--- a/content/browser/loader/navigation_resource_throttle.cc |
+++ b/content/browser/loader/navigation_resource_throttle.cc |
@@ -235,6 +235,8 @@ void NavigationResourceThrottle::OnUIChecksPerformed( |
controller()->CancelAndIgnore(); |
} else if (result == NavigationThrottle::CANCEL) { |
controller()->Cancel(); |
+ } else if (result == NavigationThrottle::BLOCK_RESPONSE) { |
+ controller()->CancelWithError(net::ERR_BLOCKED_BY_RESPONSE); |
mmenke
2016/05/02 18:17:29
Is this only for subframes, or is it for the main
Mike West
2016/05/05 08:14:28
The throttle introduced in this CL is only for sub
|
} else { |
controller()->Resume(); |
} |