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

Unified Diff: chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc

Issue 2978693002: Remove all calls to domAutomationController.setAutomationId. (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
diff --git a/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc b/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
index fb73c92faf8fbfbf097beb6bf8929f78893b1760..a5f072b972ce85f9ac28f74e07a869358a2bf906 100644
--- a/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
+++ b/chrome/browser/ui/views/drag_and_drop_interactive_uitest.cc
@@ -1210,10 +1210,9 @@ void DragAndDropBrowserTest::CrossSiteDrag_Step2(
// the test before the event has had a chance to be reported back to the
// browser.
std::string expected_response = base::StringPrintf("\"i%d\"", i);
- right_frame()->ExecuteJavaScriptWithUserGestureForTests(base::UTF8ToUTF16(
- base::StringPrintf("domAutomationController.setAutomationId(0);\n"
- "domAutomationController.send(%s);\n",
- expected_response.c_str())));
+ right_frame()->ExecuteJavaScriptWithUserGestureForTests(
+ base::UTF8ToUTF16(base::StringPrintf(
+ "domAutomationController.send(%s);", expected_response.c_str())));
// Wait until our response comes back (it might be mixed with responses
// carrying events that are sent by event_monitoring.js).
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698