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

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

Issue 2542943002: Generalized fix for serialization error/reset issues (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/renderer/extensions/automation_internal_custom_bindings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10fd29d0609708f8dee99df03c2d0a9fd36de032..53222ab0cfba6779c2a41cc2905f451c77d67ed3 100644
--- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
@@ -347,6 +347,11 @@ automationInternal.onAccessibilityTreeDestroyed.addListener(function(id) {
DestroyAccessibilityTree(id);
});
+automationInternal.onAccessibilityTreeSerializationError.addListener(
+ function(id) {
+ automationInternal.enableFrame(id);
+});
+
var binding = automation.generate();
// Add additional accessibility bindings not specified in the automation IDL.
// Accessibility and automation share some APIs (see
« no previous file with comments | « chrome/renderer/extensions/automation_internal_custom_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698