[Webkit-unassigned] [Bug 219068] New: canvas: drawImage should not raise IndexSizeError on empty sources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 17 22:04:50 PST 2020


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

            Bug ID: 219068
           Summary: canvas: drawImage should not raise IndexSizeError on
                    empty sources
           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

Test: imported/w3c/web-platform-tests/html/canvas/offscreen/drawing-images-to-the-canvas/2d.drawImage.zerosource.html

Recently, this test was updated in WPT[1] to avoid raising IndexSizeError in drawImage for empty sources, as the spec at [2] does not specify it should be raised in this case.

In WebKit, this change was pulled in r269598 and the test has been flaky raising this exception as a console message (the exception is swallowed by the test helper code).

[1] https://github.com/web-platform-tests/wpt/issues/2835
[2] https://html.spec.whatwg.org/multipage/canvas.html#check-the-usability-of-the-image-argument

-- 
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/20201118/fa8277e4/attachment-0001.htm>


More information about the webkit-unassigned mailing list