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

Unified Diff: third_party/WebKit/LayoutTests/resources/accessibility-helper.js

Issue 2957733002: Only call TextChanged on existing AXObjects. This avoids triggering the code which calls UpdateDist… (Closed)
Patch Set: Created 3 years, 6 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: third_party/WebKit/LayoutTests/resources/accessibility-helper.js
diff --git a/third_party/WebKit/LayoutTests/resources/accessibility-helper.js b/third_party/WebKit/LayoutTests/resources/accessibility-helper.js
index 3c0d2c88d369ed022b1afbeab1c1747db45915e0..e3b18ac458a4413a6f5bf13d2574ab84b22c3639 100644
--- a/third_party/WebKit/LayoutTests/resources/accessibility-helper.js
+++ b/third_party/WebKit/LayoutTests/resources/accessibility-helper.js
@@ -31,3 +31,10 @@ function buildAccessibilityTree(accessibilityObject, indent, allAttributesRequir
return true;
}
+
+function traverseAccessibilityTree(accessibilityObject) {
+ var count = accessibilityObject.childrenCount;
+ for (var i = 0; i < count; i++)
+ traverseAccessibilityTree(accessibilityObject.childAtIndex(i));
+}
+

Powered by Google App Engine
This is Rietveld 408576698