Title: [280708] trunk/LayoutTests
Revision
280708
Author
[email protected]
Date
2021-08-05 17:23:19 -0700 (Thu, 05 Aug 2021)

Log Message

REGRESSION (r280541): [ BigSur Debug ] accessibility/roles-computedRoleString.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=228744
<rdar://problem/81472432>

Unreviewed, speed up test a bit as it is timing out flakily in Debug.

* accessibility/roles-computedRoleString.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (280707 => 280708)


--- trunk/LayoutTests/ChangeLog	2021-08-06 00:20:45 UTC (rev 280707)
+++ trunk/LayoutTests/ChangeLog	2021-08-06 00:23:19 UTC (rev 280708)
@@ -1,3 +1,13 @@
+2021-08-05  Chris Dumez  <[email protected]>
+
+        REGRESSION (r280541): [ BigSur Debug ] accessibility/roles-computedRoleString.html is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=228744
+        <rdar://problem/81472432>
+
+        Unreviewed, speed up test a bit as it is timing out flakily in Debug.
+
+        * accessibility/roles-computedRoleString.html:
+
 2021-08-05  Andres Gonzalez  <[email protected]>
 
         VoiceOver is not announcing the state as selected/unselected when an item is selected in a grid.

Modified: trunk/LayoutTests/accessibility/roles-computedRoleString.html (280707 => 280708)


--- trunk/LayoutTests/accessibility/roles-computedRoleString.html	2021-08-06 00:20:45 UTC (rev 280707)
+++ trunk/LayoutTests/accessibility/roles-computedRoleString.html	2021-08-06 00:23:19 UTC (rev 280708)
@@ -313,6 +313,7 @@
     var examples = document.querySelectorAll(".ex");
     var el, contentAttrRoleString, axElement, computedAriaRole, output, expectedRole, expectation, result, note;
     var currentPlatform = accessibilityController.platformName;
+    let consoleOutput = "";
     for (var i = 0, c = examples.length; i < c; i++) {
         el = examples[i];
 		el.id = "ex" + i
@@ -343,10 +344,11 @@
         matchedResults = (computedAriaRole == expectedRole)
 
         if (matchedResults)
-            testPassed(output);
+            consoleOutput += "PASS " + output + "\n";
         else
-            testFailed(output + "Expected: " + expectation);
+            consoleOutput += "FAIL " + output + "Expected: " + expectation + "\n";
     }
+    document.getElementById("console").textContent = consoleOutput;
 
     // Once tests are complete, hide all the example markup.
     document.getElementById("content").style.visibility = "hidden";
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to