[webkit-reviews] review requested: [Bug 219068] canvas: drawImage should not raise IndexSizeError on empty sources : [Attachment 414539] Updated patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 18 21:28:53 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 414539: Updated patch

https://bugs.webkit.org/attachment.cgi?id=414539&action=review




--- Comment #2 from Lauro Moura <lmoura at igalia.com> ---
Created attachment 414539

  --> https://bugs.webkit.org/attachment.cgi?id=414539&action=review

Updated patch

Although the WPT issue links the 'check usability of the image' section, the
correct check this test is about is whether one of the dimensions of the src
rect is zero.


More information about the webkit-reviews mailing list