diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-10-01 13:11:50 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-10-04 09:22:21 -0400 |
commit | 81a67aed9e0cc866f4689e8d7a5541198d75e445 (patch) | |
tree | 65c5496febb57bab609aa1c62a771ae06a9ee49b /components/script/dom/htmlvideoelement.rs | |
parent | ea4600828861010da859399d3d432e2252619c2d (diff) | |
download | servo-81a67aed9e0cc866f4689e8d7a5541198d75e445.tar.gz servo-81a67aed9e0cc866f4689e8d7a5541198d75e445.zip |
Double key image cache by requesting origin, and store CORS status with cached images.
Diffstat (limited to 'components/script/dom/htmlvideoelement.rs')
-rw-r--r-- | components/script/dom/htmlvideoelement.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlvideoelement.rs b/components/script/dom/htmlvideoelement.rs index e95a2ca8ccd..4a1816b5cd4 100644 --- a/components/script/dom/htmlvideoelement.rs +++ b/components/script/dom/htmlvideoelement.rs @@ -132,6 +132,7 @@ impl HTMLVideoElement { let image_cache = window.image_cache(); let response = image_cache.find_image_or_metadata( poster_url.clone().into(), + window.origin().immutable().clone(), UsePlaceholder::No, CanRequestImages::Yes, ); |