Commit 6bd45405 authored by lukasza's avatar lukasza Committed by Commit Bot

Remove all calls to domAutomationController.setAutomationId.

These calls are no longer needed after r485461
(https://crrev.com/2478803003) which has made the
domAutomationController.setAutomationId call a no-op.

BUG=662543
This CL was uploaded by git cl split.

R=nasko@chromium.org

Review-Url: https://codereview.chromium.org/2978693002
Cr-Commit-Position: refs/heads/master@{#485958}
parent f0110e71
...@@ -1210,10 +1210,9 @@ void DragAndDropBrowserTest::CrossSiteDrag_Step2( ...@@ -1210,10 +1210,9 @@ void DragAndDropBrowserTest::CrossSiteDrag_Step2(
// the test before the event has had a chance to be reported back to the // the test before the event has had a chance to be reported back to the
// browser. // browser.
std::string expected_response = base::StringPrintf("\"i%d\"", i); std::string expected_response = base::StringPrintf("\"i%d\"", i);
right_frame()->ExecuteJavaScriptWithUserGestureForTests(base::UTF8ToUTF16( right_frame()->ExecuteJavaScriptWithUserGestureForTests(
base::StringPrintf("domAutomationController.setAutomationId(0);\n" base::UTF8ToUTF16(base::StringPrintf(
"domAutomationController.send(%s);\n", "domAutomationController.send(%s);", expected_response.c_str())));
expected_response.c_str())));
// Wait until our response comes back (it might be mixed with responses // Wait until our response comes back (it might be mixed with responses
// carrying events that are sent by event_monitoring.js). // carrying events that are sent by event_monitoring.js).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment