Changeset 243874 in webkit
- Timestamp:
- Apr 4, 2019, 10:16:31 AM (7 years ago)
- Location:
- branches/safari-607-branch/LayoutTests
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
accessibility/loading-iframe-sends-notification-expected.txt (modified) (1 diff)
-
accessibility/loading-iframe-sends-notification.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/LayoutTests/ChangeLog
r243778 r243874 1 2019-04-04 Ryan Haddad <ryanhaddad@apple.com> 2 3 Cherry-pick r241307. rdar://problem/49610758 4 5 AX: Fix flaky accessibility/loading-iframe-sends-notification.html 6 https://bugs.webkit.org/show_bug.cgi?id=194546 7 8 Reviewed by Zalan Bujtas. 9 10 This test was relying on timing between load events being sent and accessibility events being sent. 11 We don't need to do that, we can more directly test this interplay. 12 13 * accessibility/loading-iframe-sends-notification-expected.txt: 14 * accessibility/loading-iframe-sends-notification.html: 15 16 17 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@241307 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2019-02-12 Chris Fleizach <cfleizach@apple.com> 20 21 AX: Fix flaky accessibility/loading-iframe-sends-notification.html 22 https://bugs.webkit.org/show_bug.cgi?id=194546 23 24 Reviewed by Zalan Bujtas. 25 26 This test was relying on timing between load events being sent and accessibility events being sent. 27 We don't need to do that, we can more directly test this interplay. 28 29 * accessibility/loading-iframe-sends-notification-expected.txt: 30 * accessibility/loading-iframe-sends-notification.html: 31 1 32 2019-04-02 Kocsen Chung <kocsen_chung@apple.com> 2 33 -
branches/safari-607-branch/LayoutTests/accessibility/loading-iframe-sends-notification-expected.txt
r102877 r243874 14 14 Got notification on iframe. 15 15 PASS findByAccessibleTitleSubstring(root, 'InnerButton') != null is true 16 PASS gotIframeNotification is true17 16 PASS successfullyParsed is true 18 17 -
branches/safari-607-branch/LayoutTests/accessibility/loading-iframe-sends-notification.html
r211573 r243874 43 43 function runTest() 44 44 { 45 window.gotIframeNotification = false;46 47 45 if (window.accessibilityController) { 48 46 window.root = accessibilityController.rootElement; … … 60 58 61 59 debug("Got notification on iframe."); 62 gotIframeNotification = true;63 60 64 61 // Check that the button within the iframe is now reachable from the root. 65 62 shouldBeTrue("findByAccessibleTitleSubstring(root, 'InnerButton') != null"); 63 accessibilityController.removeNotificationListener(); 64 finishJSTest(); 66 65 }); 67 66 } 68 67 69 68 window.iframeElement = document.getElementById("iframe"); 70 iframeElement.addEventListener("load", function() {71 window.setTimeout(function() {72 shouldBeTrue("gotIframeNotification");73 if (window.accessibilityController)74 accessibilityController.removeNotificationListener();75 76 finishJSTest();77 }, 10);78 }, false);79 69 80 70 // Load content into the iframe. This will trigger the event
Note:
See TracChangeset
for help on using the changeset viewer.