diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-05-29 18:09:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-29 16:09:05 +0000 |
commit | 559ba4b3ee0a1d748c89e15a60424f7bd76c9e26 (patch) | |
tree | fb768f3b97e3316ef7d790ff0c7275c98cc7ee6c /tests/wpt/tests/ai/summarizer | |
parent | 36e4886da1c0b1ea04e9ddcfd266380ed9ea53d8 (diff) | |
download | servo-main.tar.gz servo-main.zip |
Instead of panicking when serialization of canvas to image data (whether
through `toBlob()` or via `toDataURL()`), properly handle failed
serialization. This is an implementation of the appropriate error
handling from the specification text.
Testing: This change includes a new Serov-specific test, because it is
impossible to know what the canvas size limits are of all browsers.
Fixes: #36840.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'tests/wpt/tests/ai/summarizer')
0 files changed, 0 insertions, 0 deletions