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

Unified Diff: chrome/test/data/extensions/api_test/automation/tests/tabs/actions.js

Issue 304293002: Add human readable programmatic enum name/values to chrome.automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last feedback. Created 6 years, 7 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/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();

Powered by Google App Engine
This is Rietveld 408576698