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

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: Tested on Android/Desktop Created 6 years 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 610078fd42e6fa6b9cc7559041b2a4735dc88546..b785999bc1c10694509786d4816203b5e48c370b 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->GetRenderViewHost(),
"window.domAutomationController.send(\"okay2\");"));
ASSERT_TRUE(message_queue.WaitForMessage(&message));
ASSERT_EQ("\"okay2\"", message);

Powered by Google App Engine
This is Rietveld 408576698