| Index: content/browser/site_per_process_browsertest.cc
|
| diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
|
| index 1c8cab662fe5f652604c452c34a16037de9d36b1..ac68083a168d7fd76ea604cd4d0939efa98839f1 100644
|
| --- a/content/browser/site_per_process_browsertest.cc
|
| +++ b/content/browser/site_per_process_browsertest.cc
|
| @@ -5445,11 +5445,9 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, SubframeWindowFocus) {
|
| // window gets or loses focus.
|
| const char kSetupFocusEvents[] =
|
| "window.addEventListener('focus', function() {"
|
| - " domAutomationController.setAutomationId(0);"
|
| " domAutomationController.send('%s-got-focus');"
|
| "});"
|
| "window.addEventListener('blur', function() {"
|
| - " domAutomationController.setAutomationId(0);"
|
| " domAutomationController.send('%s-lost-focus');"
|
| "});";
|
| std::string script = base::StringPrintf(kSetupFocusEvents, "main", "main");
|
| @@ -5634,11 +5632,9 @@ class SitePerProcessMouseWheelBrowserTest : public SitePerProcessBrowserTest {
|
| " wheel_count++;"
|
| " if (wheel_count % 2 == 0)"
|
| " e.preventDefault();\n"
|
| - " domAutomationController.setAutomationId(0);"
|
| " domAutomationController.send('wheel: ' + wheel_count);"
|
| "}"
|
| "function scroll_handler(e) {"
|
| - " domAutomationController.setAutomationId(0);"
|
| " domAutomationController.send('scroll: ' + wheel_count);"
|
| "}"
|
| "scroll_div = document.getElementById('scrollable_div');"
|
|
|