servo/components/net_traits
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
..
image Remove syn 0.15 from our crate graph (fixes #24421) 2020-03-05 13:01:13 +01:00
tests Minor assert message edits for consistency 2019-10-20 18:03:18 -07:00
blob_url_store.rs check same-origin and url against the blob beign revoked 2019-11-18 22:44:07 +09:00
Cargo.toml Update content-security-policy. 2020-03-25 09:11:09 -04:00
filemanager_thread.rs add a fetch token for blob urls 2020-02-21 14:26:45 +08: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 Auto merge of #26450 - PeterZhizhin:add_referrerpolicy_to_list_of_relevant_mutations, r=jdm 2020-05-07 08:45:12 -04:00
pub_domains.rs Fix some warnings 2018-12-28 15:31:08 +01:00
quality.rs Fix some warnings 2018-12-28 15:31:08 +01:00
request.rs Now just one is_cors_safelisted_request_header, with closer spec alignment 2019-12-16 09:07:02 -05:00
response.rs Implement cross origin resource policy check 2020-05-08 19:15:24 +02:00
storage_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00