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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.cc

Issue 2004653002: OpenURL post data handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@post-data-my-stuff
Patch Set: Rebasing... Created 4 years, 6 months 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
Index: content/browser/frame_host/render_frame_proxy_host.cc
diff --git a/content/browser/frame_host/render_frame_proxy_host.cc b/content/browser/frame_host/render_frame_proxy_host.cc
index 9f7a80ce0ee0df946ecb231e1dbc849361b68ed7..6ee07fd4c7bc5c2c1f727e2b920b1097bb8c8516 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -260,11 +260,11 @@ void RenderFrameProxyHost::OnOpenURL(
// TODO(alexmos, creis): Figure out whether |params.user_gesture| needs to be
// passed in as well.
- // TODO(lukasza): https://crbug.com/344348: Pass real method and post_data.
frame_tree_node_->navigator()->RequestTransferURL(
current_rfh, validated_url, site_instance_.get(), std::vector<GURL>(),
params.referrer, ui::PAGE_TRANSITION_LINK, GlobalRequestID(),
- params.should_replace_current_entry, "GET", nullptr);
+ params.should_replace_current_entry, params.uses_post ? "POST" : "GET",
+ params.resource_request_body);
}
void RenderFrameProxyHost::OnRouteMessageEvent(
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/security_exploit_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698