Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 4d031368d5826a9f0996aa158da05c49f1c56fb7..851f3fb8742213af227927a254fa58a9aafb733c 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -5474,15 +5474,6 @@ WebNavigationPolicy RenderFrameImpl::decidePolicyForNavigation( |
info.urlRequest.checkForBrowserSideNavigation() && |
ShouldMakeNetworkRequestForURL(url)) { |
if (info.defaultPolicy == blink::WebNavigationPolicyCurrentTab) { |
- if (RenderThreadImpl::current() && |
- RenderThreadImpl::current()->layout_test_mode()) { |
- // Layout tests sometimes attempt to load urls of the form |
- // about:blank?foo which the browser doesn't expect and will convert to |
- // about:blank. Don't send these to the browser. |
- if (url.SchemeIs(url::kAboutScheme) && url.path() == "blank") |
- return info.defaultPolicy; |
- } |
- |
BeginNavigation(info); |
return blink::WebNavigationPolicyHandledByClient; |
} else { |