diff options
author | japhet <japhet@chromium.org> | 2015-04-22 16:52:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-22 23:53:03 +0000 |
commit | 735aa03be45990a5e2feb3c38087e6f76eb920ac (patch) | |
tree | 913481ff3b950e3265108d88fbc19bf6c5f112f4 /content/browser/security_exploit_browsertest.cc | |
parent | 39c5a2ef447bc8f45dbd1b717c51dade891a99b2 (diff) | |
download | chromium_src-735aa03be45990a5e2feb3c38087e6f76eb920ac.zip chromium_src-735aa03be45990a5e2feb3c38087e6f76eb920ac.tar.gz chromium_src-735aa03be45990a5e2feb3c38087e6f76eb920ac.tar.bz2 |
Ensure we properly set PageTransition for iframes.
We currently don't set subframe navigations as manual when it isn't the first
navigation of the iframe. Also, we don't propagate the state correctly in the
case of a cross-process transition.
BUG=464014
Review URL: https://codereview.chromium.org/1002953004
Cr-Commit-Position: refs/heads/master@{#326404}
Diffstat (limited to 'content/browser/security_exploit_browsertest.cc')
-rw-r--r-- | content/browser/security_exploit_browsertest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc index 62d3b62..0044aa4 100644 --- a/content/browser/security_exploit_browsertest.cc +++ b/content/browser/security_exploit_browsertest.cc @@ -70,7 +70,7 @@ RenderViewHostImpl* PrepareToDuplicateHosts(Shell* shell, WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell->web_contents()); wc->GetFrameTree()->root()->navigator()->RequestOpenURL( wc->GetFrameTree()->root()->current_frame_host(), extension_url, nullptr, - Referrer(), CURRENT_TAB, false, true); + Referrer(), ui::PAGE_TRANSITION_LINK, CURRENT_TAB, false, true); // Since the navigation above requires a cross-process swap, there will be a // pending RenderViewHost. Ensure it exists and is in a different process |