[Webkit-unassigned] [Bug 215462] New: OffscreenCanvas: imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html is flaky failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 13:07:44 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=215462

            Bug ID: 215462
           Summary: OffscreenCanvas:
                    imported/w3c/web-platform-tests/html/canvas/offscreen/
                    manual/the-offscreen-canvas/offscreencanvas.commit.htm
                    l is flaky failing
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: dino at apple.com

imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit.html

Started flaky failing since OffScreen canvas support was enabled and the baseline updated to be actually passing.

Diff:

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.commit-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: Error: assert_equals: Green channel of the pixel at (5, 5) expected 255 but got 0

 PASS Test that calling OffscreenCanvas's commit pushes its contents to its placeholder. 
 PASS Test that calling commit on an OffscreenCanvas that is not transferred from a HTMLCanvasElement is a noop. 

Looking at the test with --iterations=100, all iterations pass with the timeout for the automatic commit set at >=3ms. Maybe the immediate timeout is too eager for the commit operation to fulfill?

Running it on Chrome 84 (Ubuntu 20.04) raises the same message about the green channel.

Another issue with this test: As the assert runs in the setTimeout callback, the test is registered as done and thus the PASS message, while in fact, it failed. I'm opening a WPT PR changing it to be an async test and actually emit FAIL when the assert fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200813/227a41f1/attachment.htm>


More information about the webkit-unassigned mailing list