Chromium Code Reviews| Index: content/browser/frame_host/navigation_controller_impl.cc |
| diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
| index a751ccd3da09dd5b6223138a65e5fe20776e9635..00d12edf37e3c621f91227bcffbf848b94c999c0 100644 |
| --- a/content/browser/frame_host/navigation_controller_impl.cc |
| +++ b/content/browser/frame_host/navigation_controller_impl.cc |
| @@ -123,6 +123,7 @@ bool AreURLsInPageNavigation(const GURL& existing_url, |
| RenderFrameHost* rfh) { |
| WebPreferences prefs = rfh->GetRenderViewHost()->GetWebkitPreferences(); |
| bool is_same_origin = existing_url.is_empty() || |
| + existing_url == GURL(url::kAboutBlankURL) || |
|
nasko
2014/07/09 07:11:17
Shouldn't this only apply if there is no session h
|
| existing_url.GetOrigin() == new_url.GetOrigin() || |
| !prefs.web_security_enabled; |
| if (!is_same_origin && renderer_says_in_page) |