forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A recent change to the AccessibilityTreeFormatter changed the filename pattern for UIA test expectation files (from "-win-uia.txt" to "-uia-win.txt"). However, the change didn't rename the expectation files for *event* tests, so the event tests were inadvertantly disabled. 1. Renamed the event-test expectation files to match the new pattern. -- Similarly, change any filter rules (@WIN-DENY, etc.) in the HTML files to match the new pattern. 2. This exposed a crash in the AccessibilityTreeFormatter on Win7 since we are now dumping some new trees. -- We were requesting *all* properties, and UIA on Win7 was crashing when requesting `LegacyIAccessibleSelection` (on a <SELECT> element). -- The solution is to request only a subset of all properties. -- The list currently contains *all* properties, except (1) properties like `ProcessId` and `RuntimeId`, which are system specific and shouldn't be in a dump file; and (2) the `LegacyIAccessible` properties, which are proven problematic on Win7 and which we don't expose anyway. -- Also removed were properties that are going to be dumped as part of a pattern (see CL:1521468). 3. A few expectation files needed to be remastered, having diverged slightly during the time the tests were disabled. Bug: 928949 Change-Id: I1aa42a9b42882b368ef590035ea926b106c3712c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1518411 Commit-Queue: Ian Prest <iapres@microsoft.com> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#642120}
- Loading branch information
Showing
21 changed files
with
176 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
content/test/data/accessibility/event/aria-combo-box-expand-expected-uia-win.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
AutomationFocusChanged on role=option, name=Apple | ||
SelectionItem_ElementSelected on role=option, name=Apple |
File renamed without changes.
1 change: 0 additions & 1 deletion
1
content/test/data/accessibility/event/aria-combo-box-focus-expected-win-uia.txt
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
content/test/data/accessibility/event/aria-combo-box-next-expected-uia-win.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
AutomationFocusChanged on role=option, name=Banana | ||
SelectionItem_ElementSelected on role=option, name=Banana |
1 change: 0 additions & 1 deletion
1
content/test/data/accessibility/event/aria-combo-box-next-expected-win-uia.txt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
content/test/data/accessibility/event/listbox-next-expected-uia-win.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
AutomationFocusChanged on role=option, name=Orange | ||
SelectionItem_ElementSelected on role=option, name=Orange |
1 change: 0 additions & 1 deletion
1
content/test/data/accessibility/event/listbox-next-expected-win-uia.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.