servo/components/net
Martin Robinson 6defd7011b Fix intermittency when loading poster images
Wait until a poster image is cached to in order to unblock document load. If
not, the document may continue loading before the image is ready to use,
leading to intermittency in test output. Now load is unblocked when
getting the ImageResponse from the cache, which allows the code to
properly unblock the load when the entire load fails or succeeds.

This reveals several false passes in the `object-view-box` test suite
which were very flaky.

Fixes #29204.
Fixes #29188.
Fixes #29179.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2023-01-11 12:27:27 +01:00
..
fetch Upgrade Hyper 2022-01-16 09:34:17 -08:00
tests Upgrade Hyper 2022-01-16 09:34:17 -08:00
build.rs Add build check for OpenSSL 1.1.1 requirement 2020-02-12 01:39:57 +01:00
Cargo.toml Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
connector.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
cookie.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
cookie_storage.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
data_loader.rs Fix #2909 as far as WPT is concerned, not full data-url class integration 2019-11-26 09:49:30 -05:00
decoder.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
filemanager_thread.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
hosts.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
hsts.rs Fix HSTS 2020-01-07 16:07:12 +01:00
http_cache.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
http_loader.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
image_cache.rs Fix intermittency when loading poster images 2023-01-11 12:27:27 +01:00
lib.rs Fix some 'nosniff' tests 2021-03-08 21:24:08 +01:00
mime_classifier.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
resource_thread.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
storage_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
subresource_integrity.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
websocket_loader.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00