| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 7b5b70b4f2c14352e66aa7114a3fdb14be329f2f..d13856605a43453354e9ae62dc64e155be819bf2 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -5475,15 +5475,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 {
|
|
|