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

Unified Diff: content/browser/security_exploit_browsertest.cc

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: Rebasing... Created 3 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 | « content/browser/resources/media/media_internals.js ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/security_exploit_browsertest.cc
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index be380107a38cee2187d460210a609855ad89ddd9..57cefadb2fce1c6f0342122c270b8de5f8ace5b9 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -420,8 +420,8 @@ 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(ExecuteScript(interstitial_page->GetMainFrame(),
- "window.domAutomationController.send(\"okay2\");"));
+ ExecuteScriptAsync(interstitial_page->GetMainFrame(),
+ "window.domAutomationController.send(\"okay2\");");
ASSERT_TRUE(message_queue.WaitForMessage(&message));
ASSERT_EQ("\"okay2\"", message);
ASSERT_EQ("\"okay2\"", interstitial->last_command());
« no previous file with comments | « content/browser/resources/media/media_internals.js ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698