summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-10 18:07:37 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-10 18:07:37 +0000
commit87d3a29515dc5e131d0d57fac40a1aa630111ee6 (patch)
treeb417beb384c46a35d14cf0bb4413db16490278d5 /chrome/renderer/render_view.cc
parent562dc9544aa2668b51a35793a90ad5cffec97c8f (diff)
downloadchromium_src-87d3a29515dc5e131d0d57fac40a1aa630111ee6.zip
chromium_src-87d3a29515dc5e131d0d57fac40a1aa630111ee6.tar.gz
chromium_src-87d3a29515dc5e131d0d57fac40a1aa630111ee6.tar.bz2
If URL requests are to be routed through the external host, the ExternalTabContainer instantiates
an automation profile object which implements the Profile interface. This object was not being passed the external tab handle which is needed for cookies to be set correctly in the external host. HTTP Post requests should not be treated as top level URL requests to be handled by the external host. These were getting converted incorrectly to HTTP Get requests thus resulting in Post requests not working correctly in the external tab container. Fixes bug http://b/issue?id=2042101 Bug=2042101 Review URL: http://codereview.chromium.org/164207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index add2fc1..d78dcd3 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -1602,6 +1602,7 @@ WebNavigationPolicy RenderView::PolicyForNavigationAction(
last_top_level_navigation_page_id_ != page_id_ &&
// Not interested in reloads.
type != WebKit::WebNavigationTypeReload &&
+ type != WebKit::WebNavigationTypeFormSubmitted &&
// Must be a top level frame.
frame->parent() == NULL) {
// Skip if navigation is on the same page (using '#').