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

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

Issue 2503453003: Remove all calls to domAutomationController.setAutomationId.
Patch Set: Fix nacl_browsertest_util.cc 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
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..973729449df8e2fbb53f7564632a0c5a773bbfa4 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);\n", 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 | « chrome/browser/ui/login/login_interstitial_delegate.cc ('k') | chrome/test/data/ads_observer/docwrite_provisional_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698