summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 23:00:01 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 23:00:01 +0000
commit93b792798207296c98e08336e252288da9b7320f (patch)
tree43bfd0d9112e16cef6f1d76afdad1f602e624c6b /chrome_frame/chrome_active_document.cc
parentd944adfc26c426db11dcb8a803b454040f6b0875 (diff)
downloadchromium_src-93b792798207296c98e08336e252288da9b7320f.zip
chromium_src-93b792798207296c98e08336e252288da9b7320f.tar.gz
chromium_src-93b792798207296c98e08336e252288da9b7320f.tar.bz2
Download requests initiated in a ChromeFrame popup window opened via window.open should be reissued
in the current navigation context. We use the attach external tab URL prefix as a cue to identify whether the navigation should be reissued in a new window. Fixes bug http://code.google.com/p/chromium/issues/detail?id=84235 BUG=84235 Review URL: http://codereview.chromium.org/7033061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r--chrome_frame/chrome_active_document.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index 0a9d3a9..dc005c4 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -1054,6 +1054,8 @@ bool ChromeActiveDocument::LaunchUrl(const ChromeFrameUrl& cf_url,
}
}
+ document_url_ = cf_url.gurl().spec();
+
url_.Allocate(UTF8ToWide(cf_url.gurl().spec()).c_str());
if (cf_url.attach_to_external_tab()) {
automation_client_->AttachExternalTab(cf_url.cookie());