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

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

Issue 2650733002: Revert of Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Created 3 years, 11 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/desktop/actions.js
diff --git a/chrome/test/data/extensions/api_test/automation/tests/desktop/actions.js b/chrome/test/data/extensions/api_test/automation/tests/desktop/actions.js
index 3a928eba319710bb0c3eca016185cf571c1e4b76..8b2f8df5d52d77430a614a1b112806379074250c 100644
--- a/chrome/test/data/extensions/api_test/automation/tests/desktop/actions.js
+++ b/chrome/test/data/extensions/api_test/automation/tests/desktop/actions.js
@@ -9,7 +9,7 @@
return node.role == 'textField';
});
assertTrue(!!firstTextField);
- listenOnce(firstTextField, EventType.FOCUS, function(e) {
+ listenOnce(firstTextField, EventType.focus, function(e) {
chrome.test.succeed();
}, true);
firstTextField.doDefault();
@@ -26,7 +26,7 @@
function testContextMenu() {
var addressBar = rootNode.find({role: 'textField'});
- listenOnce(rootNode, EventType.MENU_START, function(e) {
+ listenOnce(rootNode, EventType.menuStart, function(e) {
addressBar.showContextMenu();
chrome.test.succeed();
}, true);

Powered by Google App Engine
This is Rietveld 408576698