Title: [249293] trunk/LayoutTests
Revision
249293
Author
[email protected]
Date
2019-08-29 14:51:22 -0700 (Thu, 29 Aug 2019)

Log Message

Flaky Test: svg/custom/tabindex-order.html
https://bugs.webkit.org/show_bug.cgi?id=201294

Reviewed by Chris Dumez.

Make the backward sequential navigation case more robust against platform differences.

* svg/custom/tabindex-order.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (249292 => 249293)


--- trunk/LayoutTests/ChangeLog	2019-08-29 21:26:23 UTC (rev 249292)
+++ trunk/LayoutTests/ChangeLog	2019-08-29 21:51:22 UTC (rev 249293)
@@ -1,3 +1,14 @@
+2019-08-29  Ryosuke Niwa  <[email protected]>
+
+        Flaky Test: svg/custom/tabindex-order.html
+        https://bugs.webkit.org/show_bug.cgi?id=201294
+
+        Reviewed by Chris Dumez.
+
+        Make the backward sequential navigation case more robust against platform differences.
+
+        * svg/custom/tabindex-order.html:
+
 2019-08-29  Youenn Fablet  <[email protected]>
 
         Skip fetch event dispatching if no fetch event handler is added at script evaluation time

Modified: trunk/LayoutTests/svg/custom/tabindex-order.html (249292 => 249293)


--- trunk/LayoutTests/svg/custom/tabindex-order.html	2019-08-29 21:26:23 UTC (rev 249292)
+++ trunk/LayoutTests/svg/custom/tabindex-order.html	2019-08-29 21:51:22 UTC (rev 249293)
@@ -45,20 +45,20 @@
             addEventListenersToRects(rects);
 
             log('Tabbing forward....\n');
-            let tabCount = 0;
             for (var i = 0; i < rects.length; ++i) {
                 if (i > 1 && document.activeElement.id == 'a')
                     break;
                 dispatchTabPress(document, false);
-                tabCount++;
             }
 
             lastFocusedElement.blur();
 
             log('\nTabbing backward....\n');
-            previousActiveElement = null;
-            for (var i = 0; i < tabCount; ++i)
+            for (var i = 0; i < rects.length; ++i) {
+                if (i > 1 && document.activeElement.id == 'k')
+                    break;
                 dispatchTabPress(document, true);
+            }
 
             log('\nTest finished\n');
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to