Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
AX ITM: Fix for accessibility/mac/details-summary.html in isolated tr…
…ee mode. https://bugs.webkit.org/show_bug.cgi?id=241804 Reviewed by Darin Adler. Need to check for null the accessible object in the waitFor function before calling isExpanded. Also buffering the output in a variable makes the test run faster. * LayoutTests/accessibility/mac/details-summary-expected.txt: * LayoutTests/accessibility/mac/details-summary.html: Canonical link: https://commits.webkit.org/251725@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
79efdcf
commit 3b7a0aa
Showing
2 changed files
with
66 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,28 @@ | ||
Some open info | ||
Details about the open topic. | ||
|
||
Some open info | ||
Some open info | ||
Details about the open topic. | ||
|
||
This tests some basic attributes about the details element. | ||
|
||
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||
|
||
|
||
PASS details1.role is 'AXRole: AXGroup' | ||
PASS details1.subrole is 'AXSubrole: AXDetails' | ||
PASS details1.isExpanded is true | ||
PASS summary1.role is 'AXRole: AXButton' | ||
PASS summary1.subrole is 'AXSubrole: AXSummary' | ||
PASS summary1.title is 'AXTitle: Some open info' | ||
PASS details1.isAttributeSettable('AXExpanded') is true | ||
PASS: details1.role === 'AXRole: AXGroup' | ||
PASS: details1.subrole === 'AXSubrole: AXDetails' | ||
PASS: details1.isExpanded === true | ||
PASS: summary1.role === 'AXRole: AXButton' | ||
PASS: summary1.subrole === 'AXSubrole: AXSummary' | ||
PASS: summary1.title === 'AXTitle: Some open info' | ||
PASS: details1.isAttributeSettable('AXExpanded') === true | ||
Received AXExpandedChanged notification | ||
PASS details1.isExpanded is false | ||
PASS summary1.isExpanded is false | ||
PASS details1.isExpanded is false | ||
PASS summary1.isExpanded is false | ||
PASS: details1.isExpanded === false | ||
PASS: summary1.isExpanded === false | ||
PASS: details1.isExpanded === false | ||
PASS: summary1.isExpanded === false | ||
Received AXExpandedChanged notification | ||
PASS details1.isExpanded is true | ||
PASS summary1.isExpanded is true | ||
PASS details1.isExpanded is true | ||
PASS summary1.isExpanded is true | ||
PASS details2.subrole is 'AXSubrole: AXDetails' | ||
PASS details2.isExpanded is false | ||
PASS details3.subrole is 'AXSubrole: AXApplicationGroup' | ||
PASS details3.isExpanded is true | ||
PASS: details1.isExpanded === true | ||
PASS: summary1.isExpanded === true | ||
PASS: details1.isExpanded === true | ||
PASS: summary1.isExpanded === true | ||
PASS: details2.subrole === 'AXSubrole: AXDetails' | ||
PASS: details2.isExpanded === false | ||
PASS: details3.subrole === 'AXSubrole: AXApplicationGroup' | ||
PASS: details3.isExpanded === true | ||
|
||
PASS successfullyParsed is true | ||
|
||
TEST COMPLETE | ||
|
||
|
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