mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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> |
||
---|---|---|
.. | ||
fetch | ||
protocols | ||
tests | ||
async_runtime.rs | ||
Cargo.toml | ||
connector.rs | ||
cookie.rs | ||
cookie_storage.rs | ||
decoder.rs | ||
filemanager_thread.rs | ||
hosts.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
image_cache.rs | ||
lib.rs | ||
local_directory_listing.rs | ||
mime_classifier.rs | ||
request_interceptor.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
subresource_integrity.rs | ||
websocket_loader.rs |