Changeset 220486 in webkit
- Timestamp:
- Aug 9, 2017 3:36:04 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220484 r220486 1 2017-08-09 Nan Wang <n_wang@apple.com> 2 3 LayoutTest accessibility/presentation-role-iframe.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=175194 5 6 Reviewed by Chris Fleizach. 7 8 In the test we have no way to control which iframe will be loaded first. 9 Output the logs at the end of the test so that they are in order. 10 11 * accessibility/presentation-role-iframe.html: 12 1 13 2017-08-09 Commit Queue <commit-queue@webkit.org> 2 14 -
trunk/LayoutTests/accessibility/presentation-role-iframe.html
r219075 r220486 31 31 var test3Ran = false; 32 32 33 var test1Log; 34 var test2Log; 35 var test3Log; 36 33 37 // Run the test for a iframe that has presentation role and one that does not. 34 38 // The children should be different. … … 37 41 if (window.accessibilityController) { 38 42 var content = accessibilityController.accessibleElementById("content" + testNumber); 39 debug(testNumber + ". Content child: " + content.childAtIndex(0).role);40 debug(testNumber + ". Content grand child: " + content.childAtIndex(0).childAtIndex(0).role);41 43 if (testNumber == 1) { 42 44 test1Ran = true; 45 test1Log = testLog(content, testNumber); 43 46 } else if (testNumber == 2) { 44 47 test2Ran = true; 48 test2Log = testLog(content, testNumber); 45 49 } else if (testNumber == 3) { 46 50 test3Ran = true; 51 test3Log = testLog(content, testNumber); 47 52 } 48 53 49 54 if (test3Ran && test2Ran && test1Ran) { 55 debug(test1Log); 56 debug(test2Log); 57 debug(test3Log); 50 58 finishJSTest(); 51 59 } 52 60 } 61 } 62 63 function testLog(content, testNumber) { 64 var result = testNumber + ". Content child: " + content.childAtIndex(0).role; 65 result += "\n" + testNumber + ". Content grand child: " + content.childAtIndex(0).childAtIndex(0).role; 66 return result; 53 67 } 54 68 </script>
Note: See TracChangeset
for help on using the changeset viewer.