Title: [292766] trunk/LayoutTests
Revision
292766
Author
[email protected]
Date
2022-04-11 23:49:21 -0700 (Mon, 11 Apr 2022)

Log Message

Make fast/text/otsvg-canvas.html more robust
https://bugs.webkit.org/show_bug.cgi?id=239109
<rdar://problem/88838078>

Unreviewed test gardening.

Turns out loading fonts is asynchronous.

* fast/text/otsvg-canvas.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (292765 => 292766)


--- trunk/LayoutTests/ChangeLog	2022-04-12 06:34:44 UTC (rev 292765)
+++ trunk/LayoutTests/ChangeLog	2022-04-12 06:49:21 UTC (rev 292766)
@@ -1,3 +1,16 @@
+2022-04-11  Myles C. Maxfield  <[email protected]>
+
+        Make fast/text/otsvg-canvas.html more robust
+        https://bugs.webkit.org/show_bug.cgi?id=239109
+        <rdar://problem/88838078>
+
+        Unreviewed test gardening.
+
+        Turns out loading fonts is asynchronous.
+
+        * fast/text/otsvg-canvas.html:
+        * platform/mac-wk1/TestExpectations:
+
 2022-04-11  Tyler Wilcock  <[email protected]>
 
         AX: Update isolated tree in response to AXReadOnlyStatusChanged, AXRequiredStatusChanged, and AXPressedStateChanged notifications

Modified: trunk/LayoutTests/fast/text/otsvg-canvas.html (292765 => 292766)


--- trunk/LayoutTests/fast/text/otsvg-canvas.html	2022-04-12 06:34:44 UTC (rev 292765)
+++ trunk/LayoutTests/fast/text/otsvg-canvas.html	2022-04-12 06:49:21 UTC (rev 292766)
@@ -20,10 +20,14 @@
 </p>
 <canvas id="canvas" width="400" height="400"></canvas>
 <script>
+if (self.testRunner)
+    testRunner.waitUntilDone();
 var context = document.getElementById("canvas").getContext("2d");
 [...document.fonts][0].load().then(function() {
     context.font = "50px 'WebFont'";
     context.fillText("bAbA", 10, 100);
+    if (self.testRunner)
+        testRunner.notifyDone();
 });
 </script>
 </body>

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (292765 => 292766)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2022-04-12 06:34:44 UTC (rev 292765)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2022-04-12 06:49:21 UTC (rev 292766)
@@ -1662,8 +1662,6 @@
 [ BigSur+ arm64 ] editing/execCommand/insert-newline-in-quoted-content-crash.html [ Skip ]
 [ BigSur+ arm64 ] editing/execCommand/paste-as-quotation-disconnected-paragraph-ancestor-crash.html [ Skip ]
 
-webkit.org/b/236530 fast/text/otsvg-canvas.html [ ImageOnlyFailure ]
-
 # Push subscription tests don't work without service worker support.
 http/tests/push-api/subscribe-default-permissions-iframe-cross-origin.html [ Skip ]
 http/tests/push-api/subscribe-default-permissions-iframe-same-origin.html [ Skip ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to