[webkit-changes] [WebKit/WebKit] a1f882: AX ITM: Fix for LayoutTests/accessibility/mac/sear...
AndresGonzalezApple
noreply at github.com
Fri Nov 4 12:05:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1f882fe5f68b8cc9072304f915676fa66d1e9d4
https://github.com/WebKit/WebKit/commit/a1f882fe5f68b8cc9072304f915676fa66d1e9d4
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M LayoutTests/accessibility-isolated-tree/TestExpectations
M LayoutTests/accessibility/mac/search-predicate-expected.txt
M LayoutTests/accessibility/mac/search-predicate.html
M Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp
Log Message:
-----------
AX ITM: Fix for LayoutTests/accessibility/mac/search-predicate.html in isolated tree mode.
https://bugs.webkit.org/show_bug.cgi?id=247486
<rdar://problem/101956964>
Reviewed by Chris Fleizach.
- Added a test case to search for a misspelled word.
- Searching for misspellings was failing in ITM because AXIsolatedObject::hasMisspelling was not implemented. The implementation in this patch dispatches the call to the associated object on the main thread. A future refinement could cache this property and update it everytime text changes.
* LayoutTests/accessibility-isolated-tree/TestExpectations:
* LayoutTests/accessibility/mac/search-predicate-expected.txt:
* LayoutTests/accessibility/mac/search-predicate.html:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:
(WebCore::AXIsolatedObject::hasMisspelling const):
Canonical link: https://commits.webkit.org/256331@main
More information about the webkit-changes
mailing list