Title: [271324] trunk/LayoutTests
Revision
271324
Author
mmaxfi...@apple.com
Date
2021-01-08 14:42:58 -0800 (Fri, 08 Jan 2021)

Log Message

fast/text/canvas-color-fonts/COLR.html prematurely exits
https://bugs.webkit.org/show_bug.cgi?id=220453
<rdar://problem/71056602>

Reviewed by Sam Weinig.

The test is asynchronous and I forgot to mark it as such.

* fast/text/canvas-color-fonts/COLR.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (271323 => 271324)


--- trunk/LayoutTests/ChangeLog	2021-01-08 22:41:00 UTC (rev 271323)
+++ trunk/LayoutTests/ChangeLog	2021-01-08 22:42:58 UTC (rev 271324)
@@ -1,3 +1,16 @@
+2021-01-08  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        fast/text/canvas-color-fonts/COLR.html prematurely exits
+        https://bugs.webkit.org/show_bug.cgi?id=220453
+        <rdar://problem/71056602>
+
+        Reviewed by Sam Weinig.
+
+        The test is asynchronous and I forgot to mark it as such.
+
+        * fast/text/canvas-color-fonts/COLR.html:
+        * platform/mac-wk1/TestExpectations:
+
 2021-01-08  Ryan Haddad  <ryanhad...@apple.com>
 
         [Mojave] imported/w3c/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html is a flaky failure

Modified: trunk/LayoutTests/fast/text/canvas-color-fonts/COLR.html (271323 => 271324)


--- trunk/LayoutTests/fast/text/canvas-color-fonts/COLR.html	2021-01-08 22:41:00 UTC (rev 271323)
+++ trunk/LayoutTests/fast/text/canvas-color-fonts/COLR.html	2021-01-08 22:42:58 UTC (rev 271324)
@@ -21,6 +21,8 @@
 <div style="position: absolute; left: 698px; top: 38px; width: 4px; height: 204px; background: blue;"></div>
 </div>
 <script>
+if (window.testRunner)
+    testRunner.waitUntilDone();
 let font = "200px 'WebFont'";
 document.fonts.load(font).then(function() {
     let canvas = document.getElementById("canvas");
@@ -27,6 +29,8 @@
     let context = canvas.getContext("2d");
     context.font = font;
     context.fillText("BAB", 100, 200);
+    if (self.testRunner)
+        testRunner.notifyDone();
 });
 </script>
 </body>

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (271323 => 271324)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-01-08 22:41:00 UTC (rev 271323)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2021-01-08 22:42:58 UTC (rev 271324)
@@ -1200,8 +1200,6 @@
 
 webkit.org/b/218341 [ Debug ] inspector/dom-debugger/attribute-modified-style.html [ Pass Timeout ]
 
-webkit.org/b/218591 fast/text/canvas-color-fonts/COLR.html [ ImageOnlyFailure ]
-
 # These tests fail because of missing painting features in LFC (they still pass the layout ASSERT test).
 # webkit.org/b/216471
 fast/layoutformattingcontext/br-and-wbr-simple.html [ ImageOnlyFailure ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to