[webkit-reviews] review requested: [Bug 219068] canvas: drawImage should not raise IndexSizeError on empty sources : [Attachment 414413] Tentative patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 17 22:28:13 PST 2020
Lauro Moura <lmoura at igalia.com> has asked for review:
Bug 219068: canvas: drawImage should not raise IndexSizeError on empty sources
https://bugs.webkit.org/show_bug.cgi?id=219068
Attachment 414413: Tentative patch
https://bugs.webkit.org/attachment.cgi?id=414413&action=review
--- Comment #1 from Lauro Moura <lmoura at igalia.com> ---
Created attachment 414413
--> https://bugs.webkit.org/attachment.cgi?id=414413&action=review
Tentative patch
Moving the check for empty source to the start of drawImage(ImageBitmap).
Tested locally with fast/canvas and imported/w3c/web-platform-tests/html/canvas
without regressions.
More information about the webkit-reviews
mailing list