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

Unified Diff: content/browser/child_process_security_policy_unittest.cc

Issue 10820056: Move the render process host tests in content to chrome. These test chrome specific behavior with t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/renderer_host/render_process_host_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_security_policy_unittest.cc
===================================================================
--- content/browser/child_process_security_policy_unittest.cc (revision 148774)
+++ content/browser/child_process_security_policy_unittest.cc (working copy)
@@ -176,12 +176,6 @@
p->GrantRequestURL(kRendererID, GURL(content::kTestNewTabURL));
EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL(content::kTestNewTabURL)));
- p->GrantRequestURL(kRendererID, GURL(content::kTestHistoryURL));
- EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL(content::kTestHistoryURL)));
-
- p->GrantRequestURL(kRendererID, GURL(content::kTestBookmarksURL));
- EXPECT_TRUE(p->CanRequestURL(kRendererID, GURL(content::kTestBookmarksURL)));
Charlie Reis 2012/07/27 19:51:09 Shouldn't we check these in a chrome test instead
jam 2012/07/27 19:54:45 I guess I didn't understand how this is different
Charlie Reis 2012/07/27 20:03:19 To be honest, I'm not sure why there are separate
msw 2012/07/27 20:59:05 I don't remember exactly why I added these checks.
Charlie Reis 2012/07/27 21:35:43 Ok. LGTM, then, but it might be good to get Tom's
-
p->Remove(kRendererID);
}
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/renderer_host/render_process_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698