| Index: chrome/browser/extensions/extension_keybinding_apitest.cc
|
| diff --git a/chrome/browser/extensions/extension_keybinding_apitest.cc b/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| index 85e3a58fbb8ddfc7b358919945adf6a603250fe7..3a23bd01192adbb4850aac4af82c33542abbc9b7 100644
|
| --- a/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| +++ b/chrome/browser/extensions/extension_keybinding_apitest.cc
|
| @@ -98,6 +98,7 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, Basic) {
|
| tab,
|
| "setInterval(function(){"
|
| " if(document.body.bgColor == 'red'){"
|
| + " window.domAutomationController.setAutomationId(0);"
|
| " window.domAutomationController.send(true)}}, 100)",
|
| &result));
|
| ASSERT_TRUE(result);
|
| @@ -111,6 +112,7 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, Basic) {
|
| tab,
|
| "setInterval(function(){"
|
| " if(document.body.bgColor == 'blue'){"
|
| + " window.domAutomationController.setAutomationId(0);"
|
| " window.domAutomationController.send(true)}}, 100)",
|
| &result));
|
| ASSERT_TRUE(result);
|
| @@ -158,6 +160,7 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, MAYBE_PageAction) {
|
| tab,
|
| "setInterval(function(){"
|
| " if(document.body.bgColor == 'red'){"
|
| + " window.domAutomationController.setAutomationId(0);"
|
| " window.domAutomationController.send(true)}}, 100)",
|
| &result));
|
| ASSERT_TRUE(result);
|
| @@ -229,6 +232,7 @@ IN_PROC_BROWSER_TEST_F(CommandsApiTest, DontOverwriteSystemShortcuts) {
|
| tab,
|
| "setInterval(function() {"
|
| " if (document.body.bgColor == 'blue') {"
|
| + " window.domAutomationController.setAutomationId(0);"
|
| " window.domAutomationController.send(true)}}, 100)",
|
| &result));
|
| ASSERT_TRUE(result);
|
|
|