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

Unified Diff: content/browser/security_exploit_browsertest.cc

Issue 789703004: Reflect the status of a request for accessing a blacklisted url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/security_exploit_browsertest.cc
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index 0b0112794d7a93bd17153d43045fbb20239fec51..ae01d5e3089a779830adf526eb3dcf1381090df7 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -265,7 +265,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest,
// Send a second message from the interstitial page, and make sure that the
// "evil" message doesn't arrive in the intervening period.
ASSERT_TRUE(content::ExecuteScript(
- interstitial_page->GetRenderViewHostForTesting(),
+ interstitial_page->GetMainFrame(),
"window.domAutomationController.send(\"okay2\");"));
ASSERT_TRUE(message_queue.WaitForMessage(&message));
ASSERT_EQ("\"okay2\"", message);
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698