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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/presentation-owned-elements.html

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/accessibility/presentation-owned-elements.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/presentation-owned-elements.html b/third_party/WebKit/LayoutTests/accessibility/presentation-owned-elements.html
index 991011e057aed904cce5e538094e5190fca45e12..95c32f7f98ecd0402733d9dd717f7131ff0031e4 100644
--- a/third_party/WebKit/LayoutTests/accessibility/presentation-owned-elements.html
+++ b/third_party/WebKit/LayoutTests/accessibility/presentation-owned-elements.html
@@ -78,7 +78,10 @@ description("This test make sure that presentation role is inherited to required
if (window.testRunner)
testRunner.dumpAsText();
+
if (window.accessibilityController) {
+ // Ensure we've seen all nodes in accessibility tree.
+ traverseAccessibilityTree(accessibilityController.rootElement);
buildAccessibilityTree(accessibilityController.focusedElement, 0, 1);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698