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

Unified Diff: chrome/renderer/resources/extensions/automation_custom_bindings.js

Issue 273323002: Convert snakecase enum names to camelcase when stringified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final changes 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/renderer/resources/extensions/automation_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/automation_custom_bindings.js b/chrome/renderer/resources/extensions/automation_custom_bindings.js
index dd783b27ff0d6ec3b6a40022dfafa924b6a8c616..9935852d63e499af5a0dcb75dccb63ecc0813be3 100644
--- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
@@ -85,7 +85,7 @@ automationInternal.onAccessibilityEvent.addListener(function(data) {
}
privates(targetTree).impl.update(data);
var eventType = data.eventType;
- if (eventType == 'load_complete' || eventType == 'layout_complete') {
+ if (eventType == 'loadComplete' || eventType == 'layoutComplete') {
// If the tree wasn't available when getTree() was called, the callback will
// have been cached in idToCallback, so call and delete it now that we
// have the complete tree.

Powered by Google App Engine
This is Rietveld 408576698