Index: chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js |
diff --git a/chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js b/chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js |
index 31464bac8c7176823aa5693441a825c8bd1dd84f..911c9887a3cda9e65758bffd6aaf29d4f28d86aa 100644 |
--- a/chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js |
+++ b/chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js |
@@ -5,7 +5,7 @@ |
var allTests = [ |
function testSimpleAction() { |
var okButton = tree.root.firstChild().firstChild(); |
- okButton.addEventListener('focus', function() { |
+ okButton.addEventListener(EventType.focus, function() { |
chrome.test.succeed(); |
}, true); |
okButton.focus(); |