servo/components/net
Bastien Orivel bdbfde9ec0 Don't send a load event when a loaded image is actually the placeholder
The image cache returns an `ImageCacheResult::ImageAvailable `the second
time you try getting the placeholder. This means that in some cases, the
loading of an image would fail, then the same image would get fetched
from the cache, the placeholder would be loaded from that but would be
seen as a normal image, firing a load event.

This made the tests in
`fetch/cross-origin-resource-policy/image-loads.html` fail depending on
their order.
2020-05-08 19:15:24 +02:00
..
fetch Update content-security-policy. 2020-03-25 09:11:09 -04:00
tests Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07) 2020-04-09 21:33:44 +02:00
build.rs Add build check for OpenSSL 1.1.1 requirement 2020-02-12 01:39:57 +01:00
Cargo.toml More Cargo.toml updates 2020-04-25 18:26:49 -07:00
connector.rs Configure OpenSSL SECLEVEL=2 2020-02-12 01:40:07 +01:00
cookie.rs Add webdriver deletecookies function 2019-04-19 13:15:50 +05:30
cookie_storage.rs Cookies are now expired immediately before each lookup 2020-01-24 20:07:08 -05: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 Fix some new warnings 2019-06-22 14:59:09 +02:00
filemanager_thread.rs Auto merge of #25740 - gterzian:per_fetch_filemanager_handle, r=Manishearth 2020-02-25 14:49:26 -05: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 to rustc 1.42.0-nightly (9b98af84c 2019-12-22) 2019-12-23 14:07:01 +01:00
http_loader.rs Implement cross origin resource policy check 2020-05-08 19:15:24 +02:00
image_cache.rs Don't send a load event when a loaded image is actually the placeholder 2020-05-08 19:15:24 +02:00
lib.rs Use the matches! macro from the standard library 2020-02-12 10:08:31 +01:00
mime_classifier.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
resource_thread.rs allow for a service worker network mediator per origin 2020-04-05 22:43:37 +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 Don't panic when dealing with disconnected websockets. 2020-02-25 13:53:15 -05:00