| 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 6071abf7cec66c50e48bd34ea5225033a15c1ed5..350f2179df2d8a1e1e814ffdaa5f60cb9d8b18ec 100644
|
| --- a/chrome/renderer/resources/extensions/automation_custom_bindings.js
|
| +++ b/chrome/renderer/resources/extensions/automation_custom_bindings.js
|
| @@ -212,7 +212,7 @@ automationInternal.onChildTreeID.addListener(function(treeID,
|
| return;
|
|
|
| var subroot = AutomationRootNode.get(childTreeID);
|
| - if (!subroot) {
|
| + if (!subroot || subroot.role == schema.EventType.unknown) {
|
| automationUtil.storeTreeCallback(childTreeID, function(root) {
|
| // Return early if the root has already been attached.
|
| if (root.parent)
|
|
|