Disable accessibility isolated tree for LayoutTests.
authorandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Jan 2020 02:34:39 +0000 (02:34 +0000)
committerandresg_22@apple.com <andresg_22@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Jan 2020 02:34:39 +0000 (02:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=206048
<rdar://problem/58459580>

Reviewed by Chris Fleizach.

Fix for numerous LayoutTests failing when using accessibility isolated tree.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::clientSupportsIsolatedTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254320 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/accessibility/AXObjectCache.cpp

index 202643b..c12786b 100644 (file)
@@ -1,3 +1,16 @@
+2020-01-09  Andres Gonzalez  <andresg_22@apple.com>
+
+        Disable accessibility isolated tree for LayoutTests.
+        https://bugs.webkit.org/show_bug.cgi?id=206048
+        <rdar://problem/58459580>
+
+        Reviewed by Chris Fleizach.
+
+        Fix for numerous LayoutTests failing when using accessibility isolated tree.
+
+        * accessibility/AXObjectCache.cpp:
+        (WebCore::AXObjectCache::clientSupportsIsolatedTree):
+
 2020-01-09  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         Text manipulation controller should not observe changes in new replacement elements
index 6ebd764..1e6d610 100644 (file)
@@ -719,8 +719,7 @@ bool AXObjectCache::clientSupportsIsolatedTree()
     AXClientType type = _AXGetClientForCurrentRequestUntrusted();
     // FIXME: Remove unknown client before setting isAccessibilityIsolatedTreeEnabled initial value = true.
     return type == kAXClientTypeVoiceOver
-        || type == kAXClientTypeUnknown
-        || type == kAXClientTypeNoActiveRequestFound; // For LayoutTests.
+        || type == kAXClientTypeUnknown;
 }
 #endif