aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-ui-3_dev/xhtml1/resize-003.xht
diff options
context:
space:
mode:
authorSimon Wülker <simon.wuelker@arcor.de>2025-05-20 22:40:46 +0200
committerGitHub <noreply@github.com>2025-05-20 20:40:46 +0000
commit384d8f1ff895f070397b7a5a384428b1678416c5 (patch)
tree1160265032ae13fc245b429289fcda84179af0c7 /tests/wpt/css-tests/css-ui-3_dev/xhtml1/resize-003.xht
parentd5e02d27be8312b0664f936152b4ef851a7c34cb (diff)
downloadservo-main.tar.gz
servo-main.zip
Coalesce animated image frame data into a single shared memory region (#37058)HEADmain
This makes servo use less file descriptors for animated images and avoids the crash described in https://github.com/servo/servo/issues/36792. Doing this also forces the end users to be more explicit about whether they want to deal with all image frames or just the first one. Previously, `Image::bytes` silently returned only the data for the first frame. With this change there's now a `frames` method which returns an iterator over all frames in the image. Testing: No tests - this simply reduces the number of fds used. Servo doesn't currently display animated gifs anyways. Fixes: https://github.com/servo/servo/issues/36792 Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'tests/wpt/css-tests/css-ui-3_dev/xhtml1/resize-003.xht')
0 files changed, 0 insertions, 0 deletions