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

Unified Diff: content/browser/tab_contents/tab_contents_view_helper.cc

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revised approach based on http://crrev.com/125180. Created 8 years, 9 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/tab_contents/tab_contents_view_helper.cc
diff --git a/content/browser/tab_contents/tab_contents_view_helper.cc b/content/browser/tab_contents/tab_contents_view_helper.cc
index beb9ca3607b1dfdfc5da85233b371b8fd3e45ac0..beaae80fa8fab1ff4936ca108c13f53933192bee 100644
--- a/content/browser/tab_contents/tab_contents_view_helper.cc
+++ b/content/browser/tab_contents/tab_contents_view_helper.cc
@@ -56,7 +56,8 @@ TabContents* TabContentsViewHelper::CreateNewWindow(
web_contents,
route_id,
params.window_container_type,
- params.frame_name);
+ params.frame_name,
+ params.target_url);
}
if (!should_create)

Powered by Google App Engine
This is Rietveld 408576698