Changeset 190417 in webkit
- Timestamp:
- Oct 1, 2015, 10:45:59 AM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190410 r190417 1 2015-10-01 Myles C. Maxfield <mmaxfield@apple.com> 2 3 accessibility/mac/aria-expanded-notifications.html is flaky 4 https://bugs.webkit.org/show_bug.cgi?id=149510 5 6 Reviewed by Chris Fleizach. 7 8 The problem is triggered by our resumable parser. AXLoadComplete gets called 9 synchronously from DocumentLoader::finishedLoading(). This means that the order of 10 the AXLoadComplete message isn't FIFO. 11 12 If the parser yielded previously, the AXLoadComplete will be handled after some AX 13 messages had been handled. 14 15 If the parser hadn't yielded, the AXLoadComplete will be the first message 16 processed (no matter what had been queued up before it). 17 18 Because making the AXLoadComplete message asynchonous is not desirable, the 19 solution is to relax the test to handle various orderings. 20 21 * accessibility/mac/aria-expanded-notifications-expected.txt: 22 * accessibility/mac/aria-expanded-notifications.html: 23 * platform/mac/TestExpectations: 24 1 25 2015-09-30 Daniel Bates <dabates@apple.com> 2 26 -
trunk/LayoutTests/accessibility/mac/aria-expanded-notifications-expected.txt
r187799 r190417 7 7 8 8 PASS addedNotification is true 9 PASS notifyName is "AXRowCountChanged" 10 PASS notifyName is "AXRowCollapsed" 11 PASS notifyName is "AXRowCountChanged" 12 PASS notifyName is "AXRowExpanded" 9 13 PASS successfullyParsed is true 10 14 11 15 TEST COMPLETE 12 Notification: AXLoadComplete13 Notification: AXRowCountChanged14 Notification: AXRowCollapsed15 Notification: AXRowCountChanged16 Notification: AXRowExpanded17 16 -
trunk/LayoutTests/accessibility/mac/aria-expanded-notifications.html
r187799 r190417 31 31 // The order of notifications should be Row Count, Row Collapsed, Row Count, Row Expanded 32 32 function notifyCallback(element, notification) { 33 if (notification == "AXLoadComplete" || notification == "AXLayoutComplete") 34 return; 33 35 notifyName = notification; 34 document.getElementById("notifications").innerHTML += "Notification: " + notifyName + "<br>"; 35 if (notifyCount == 4) { 36 if (notifyCount == 0) 37 shouldBeEqualToString("notifyName", "AXRowCountChanged"); 38 else if (notifyCount == 1) 39 shouldBeEqualToString("notifyName", "AXRowCollapsed"); 40 else if (notifyCount == 2) 41 shouldBeEqualToString("notifyName", "AXRowCountChanged"); 42 else if (notifyCount == 3) { 43 shouldBeEqualToString("notifyName", "AXRowExpanded"); 36 44 accessibilityController.removeNotificationListener(); 37 window.testRunner.notifyDone(); 45 var scriptElement = document.createElement("script"); 46 scriptElement.src = "../../resources/js-test-post-async.js"; 47 document.body.appendChild(scriptElement); 38 48 } 39 49 notifyCount++; … … 60 70 </script> 61 71 62 <script src="../../resources/js-test-post.js"></script>63 72 </body> 64 73 </html> -
trunk/LayoutTests/platform/mac/TestExpectations
r190323 r190417 1332 1332 webkit.org/b/149441 fast/shadow-dom/css-scoping-shadow-slot-display-override.html [ ImageOnlyFailure ] 1333 1333 1334 webkit.org/b/149510 accessibility/mac/aria-expanded-notifications.html [ Pass Failure ]1335 1336 1334 # Times out in debug. 1337 1335 [ Debug ] js/regress/getter-richards-try-catch.html [ Skip ]
Note:
See TracChangeset
for help on using the changeset viewer.