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

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

Issue 2557923002: Merge to m55: Geneneralized 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 76971bdd695f5525d4b649886a4c2be635d8b386..9df9717288289adaf623caa09789773f7b6dfbd3 100644
--- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
@@ -331,6 +331,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