Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1812)

Unified Diff: content/renderer/render_view_impl.cc

Issue 8889007: Enable TransferNavigationResourceHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/webrequest/test_blocking.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index aedf3d9a3612779893e504545255a7614cca5f37..220e9e2d69d198b5ba48e3cff3e98825060875e2 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2068,9 +2068,7 @@ WebNavigationPolicy RenderViewImpl::decidePolicyForNavigation(
// issue a special POST navigation in WebKit (via
// FrameLoader::loadFrameRequest). See ResourceDispatcher and WebURLLoaderImpl
// for examples of how to send the httpBody data.
- // TODO(mpcomplete): remove is_redirect clause when http://crbug.com/79520 is
- // fixed.
- if (!frame->parent() && (is_content_initiated || is_redirect) &&
+ if (!frame->parent() && is_content_initiated &&
default_policy == WebKit::WebNavigationPolicyCurrentTab &&
request.httpMethod() == "GET" && !url.SchemeIs(chrome::kAboutScheme)) {
bool send_referrer = false;
« no previous file with comments | « chrome/test/data/extensions/api_test/webrequest/test_blocking.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698